/* ============================================
   XINSHUN - STYLES PRINCIPAUX
   Site HTML/CSS/JS/PHP standalone
   ============================================ */

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

/* ============================================
   LANGUES & FRISE CHRONOLOGIQUE — 2026
   ============================================ */
html[lang="zh-CN"] body {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Inter, sans-serif;
}

.ba-language {
  display: none;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
  background: rgba(15,23,42,0.2);
  backdrop-filter: blur(10px);
}

.ba-language__button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 5px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,0.78);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.ba-language__button:hover { color: #fff; }

.ba-language__button.active {
  background: #fff;
  color: #c2410c;
  box-shadow: 0 3px 10px rgba(15,23,42,.18);
}

.ba-language__name { font-weight: 600; }

.ba-header.scrolled .ba-language {
  border-color: #e2e8f0;
  background: #f8fafc;
}

.ba-header.scrolled .ba-language__button { color: #64748b; }
.ba-header.scrolled .ba-language__button:hover { color: #0f172a; }
.ba-header.scrolled .ba-language__button.active { color: #c2410c; }

.ba-language--mobile {
  display: flex;
  width: max-content;
  margin: 12px 0 2px;
  border-color: #e2e8f0;
  background: #f8fafc;
}

.ba-language--mobile .ba-language__button { color: #64748b; }
.ba-language--mobile .ba-language__button.active { color: #c2410c; }

@media (min-width: 1024px) {
  .ba-header__container > .ba-language { display: flex; }
  .ba-language--mobile { display: none; }
  .ba-nav { gap: 22px; }
}

.ba-timeline-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(249,115,22,.09), transparent 26%),
    radial-gradient(circle at 92% 90%, rgba(15,23,42,.06), transparent 28%),
    #f8fafc;
}

.ba-timeline-section::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -160px;
  top: 56px;
  border: 46px solid rgba(234,88,12,.035);
  border-radius: 50%;
  pointer-events: none;
}

.ba-timeline-section .ba-section__header { margin-bottom: 72px; }

.ba-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  isolation: isolate;
}

.ba-timeline::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 27px;
  left: 54px;
  right: 54px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ea580c 0%, #f97316 38%, #fb923c 72%, #fdba74 100%);
  box-shadow: 0 0 0 5px rgba(249,115,22,.08);
}

.ba-timeline__item {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.ba-timeline__marker {
  position: relative;
  display: flex;
  align-items: center;
  height: 58px;
  margin-bottom: 22px;
}

.ba-timeline__marker::after {
  content: "";
  position: absolute;
  left: 35px;
  bottom: -23px;
  width: 2px;
  height: 24px;
  background: linear-gradient(#f97316, #fed7aa);
}

.ba-timeline__year {
  width: auto;
  min-width: 82px;
  height: 48px;
  margin: 0;
  padding: 0 15px;
  border: 4px solid #fff;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .03em;
  box-shadow: 0 0 0 3px #f97316, 0 8px 24px rgba(15,23,42,.2);
}

.ba-timeline__card {
  position: relative;
  flex: 1;
  min-height: 220px;
  padding: 30px 24px 26px;
  overflow: hidden;
  border: 1px solid rgba(203,213,225,.8);
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff 0%, #fff 72%, #fff7ed 100%);
  box-shadow: 0 14px 35px rgba(15,23,42,.07);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.ba-timeline__card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(#ea580c, #fb923c);
}

.ba-timeline__item:hover .ba-timeline__card {
  transform: translateY(-7px);
  border-color: #fdba74;
  box-shadow: 0 22px 48px rgba(15,23,42,.12), 0 8px 22px rgba(234,88,12,.08);
}

.ba-timeline__number {
  position: absolute;
  top: 10px;
  right: 16px;
  color: rgba(234,88,12,.1);
  font-size: 50px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.06em;
}

.ba-timeline__item h3 {
  position: relative;
  z-index: 1;
  max-width: 82%;
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 19px;
  line-height: 1.32;
}

.ba-timeline__item p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #526175;
  font-size: 14px;
  line-height: 1.72;
}

@media (max-width: 1023px) {
  .ba-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .ba-timeline::before { display: none; }
  .ba-timeline__marker::after { display: none; }
  .ba-timeline__card { min-height: 190px; }
}

@media (max-width: 767px) {
  .ba-timeline-section .ba-section__header { margin-bottom: 44px; }
  .ba-timeline { grid-template-columns: 1fr; gap: 24px; padding-left: 0; }
  .ba-timeline::before {
    display: block;
    z-index: -1;
    top: 24px;
    bottom: 24px;
    left: 42px;
    right: auto;
    width: 3px;
    height: auto;
  }
  .ba-timeline__item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
  }
  .ba-timeline__marker { height: 48px; margin: 12px 0 0; }
  .ba-timeline__year {
    min-width: 76px;
    height: 42px;
    padding: 0 11px;
    font-size: 14px;
    box-shadow: 0 0 0 3px #f97316, 0 6px 18px rgba(15,23,42,.18);
  }
  .ba-timeline__card { min-height: 0; padding: 25px 20px 23px; border-radius: 17px; }
  .ba-timeline__item h3 { max-width: 85%; font-size: 17px; }
  .ba-timeline__number { font-size: 42px; }
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #334155;
  line-height: 1.6;
  background: #ffffff;
}

::selection {
  background-color: #ea580c;
  color: white;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.ba-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 20px 0;
}

.ba-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  padding: 12px 0;
}

.ba-header__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ba-header__brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  transition: opacity .25s ease;
}

.ba-header__brand:hover {
  opacity: .86;
}

.ba-header.scrolled .ba-header__brand {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.ba-header__logo {
  display: block;
  width: auto !important;
  height: clamp(36px, 3.3vw, 42px) !important;
  max-width: 168px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 2px 5px rgba(15,23,42,.28));
  transition: filter .3s ease, opacity .25s ease;
}

.ba-header.scrolled .ba-header__logo {
  filter: none;
}

.ba-header__logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  color: white;
  transition: all 0.3s;
}

.ba-header.scrolled .ba-header__logo-icon {
  background: #ea580c;
}

.ba-header__brand-text {
  display: flex;
  flex-direction: column;
}

.ba-header__brand-name {
  font-size: 20px;
  font-weight: 700;
  color: white;
  letter-spacing: 0;
  line-height: 1.2;
  transition: color 0.3s;
}

.ba-header.scrolled .ba-header__brand-name {
  color: #0f172a;
}

.ba-header__brand-tagline {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
}

.ba-header.scrolled .ba-header__brand-tagline {
  color: #ea580c;
}

.ba-nav {
  display: none;
}

@media (min-width: 1024px) {
  .ba-nav { display: flex; align-items: center; gap: 32px; }
}

.ba-nav__link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: color 0.2s;
}

.ba-nav__link:hover {
  color: #f97316;
}

.ba-header.scrolled .ba-nav__link {
  color: #334155;
}

.ba-header.scrolled .ba-nav__link:hover {
  color: #ea580c;
}

.ba-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ea580c;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.ba-nav__cta:hover {
  background: #c2410c;
}

.ba-nav__toggle {
  display: flex;
  padding: 8px;
  border-radius: 8px;
  background: none;
  border: none;
  color: white;
  transition: all 0.2s;
}

.ba-header.scrolled .ba-nav__toggle {
  color: #0f172a;
}

@media (min-width: 1024px) {
  .ba-nav__toggle { display: none; }
}

.ba-mobile-menu {
  display: none;
  background: white;
  border-top: 1px solid #f1f5f9;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.ba-mobile-menu.active {
  display: block;
}

.ba-mobile-menu__nav {
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 4px;
}

.ba-mobile-menu__link {
  padding: 12px 16px;
  color: #334155;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
}

.ba-mobile-menu__link:hover {
  background: #f8fafc;
  color: #ea580c;
}

.ba-mobile-menu__cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ea580c;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

/* ============================================
   HERO SLIDER
   ============================================ */
.ba-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ba-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}

.ba-hero__slide.active {
  opacity: 1;
}

.ba-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15,23,42,0.9), rgba(15,23,42,0.7), rgba(15,23,42,0.4));
}

.ba-hero__content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 128px 24px 80px;
  width: 100%;
}

.ba-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234,88,12,0.2);
  border: 1px solid rgba(234,88,12,0.3);
  color: #fdba74;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.ba-hero__title {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 24px;
}

.ba-hero__title span {
  color: #f97316;
}

.ba-hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: #cbd5e1;
  max-width: 576px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.ba-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Slider Controls */
.ba-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  padding: 12px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
}

.ba-slider__arrow:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-50%) scale(1.1);
}

.ba-slider__arrow--prev { left: 16px; }
.ba-slider__arrow--next { right: 16px; }

.ba-slider__dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ba-slider__dot {
  height: 4px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.5s;
  background: rgba(255,255,255,0.4);
  padding: 0;
  width: 16px;
}

.ba-slider__dot.active {
  width: 40px;
  background: #f97316;
}

.ba-slider__counter {
  position: absolute;
  bottom: 32px;
  right: 32px;
  z-index: 20;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 500;
}

.ba-slider__counter span {
  color: white;
  font-size: 18px;
  font-weight: 700;
}

/* ============================================
   SECTIONS COMMUNES
   ============================================ */
.ba-section {
  padding: 96px 0;
}

.ba-section__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.ba-section__header {
  text-align: center;
  max-width: 672px;
  margin: 0 auto 64px;
}

.ba-section__label {
  display: inline-block;
  color: #ea580c;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.ba-section__title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  line-height: 1.2;
}

.ba-section__desc {
  color: #475569;
  font-size: 18px;
  line-height: 1.6;
}

/* ============================================
   SERVICES
   ============================================ */
.ba-services { background: #f8fafc; }

.ba-service-featured {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  margin-bottom: 42px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(249,115,22,.16), transparent 32%),
    #0f172a;
  box-shadow: 0 25px 58px rgba(15,23,42,.16);
}

.ba-service-featured::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #f97316);
}

.ba-service-featured__media {
  position: relative;
  min-height: 410px;
  overflow: hidden;
}

.ba-service-featured__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,23,42,.05) 48%, rgba(15,23,42,.7));
  pointer-events: none;
}

.ba-service-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}

.ba-service-featured:hover .ba-service-featured__media img {
  transform: scale(1.025);
}

.ba-service-featured__badge {
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 20px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(15,23,42,.72);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(9px);
}

.ba-service-featured__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 4.2vw, 54px);
}

.ba-service-featured__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: #fb923c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.ba-service-featured__eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: #f97316;
}

.ba-service-featured__content h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.14;
  letter-spacing: -.025em;
}

.ba-service-featured__content p {
  margin: 0;
  color: #c2cddd;
  font-size: 14px;
  line-height: 1.75;
}

.ba-service-featured__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
  margin: 25px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(148,163,184,.18);
  list-style: none;
}

.ba-service-featured__features li {
  position: relative;
  padding-left: 16px;
  color: #e2e8f0;
  font-size: 11px;
  line-height: 1.45;
}

.ba-service-featured__features li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f97316;
  box-shadow: 0 0 0 3px rgba(249,115,22,.14);
}

@media (max-width: 900px) {
  .ba-service-featured { grid-template-columns: 1fr; }
  .ba-service-featured__media { min-height: 0; aspect-ratio: 16 / 9; }
  .ba-service-featured__media::after { background: linear-gradient(180deg, transparent 55%, rgba(15,23,42,.55)); }
}

@media (max-width: 600px) {
  .ba-service-featured {
    margin-bottom: 32px;
    border-radius: 20px;
  }
  .ba-service-featured__media { aspect-ratio: 4 / 3; }
  .ba-service-featured__content { padding: 30px 22px 34px; }
  .ba-service-featured__content h3 { font-size: 27px; }
  .ba-service-featured__features { grid-template-columns: 1fr; }
}

.ba-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 768px) {
  .ba-services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .ba-services__grid { grid-template-columns: repeat(3, 1fr); }
}

.ba-service-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
  cursor: pointer;
}

.ba-service-card:hover {
  border-color: #fdba74;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.ba-service-card.active {
  border-color: #ea580c;
  box-shadow: 0 20px 25px -5px rgba(234,88,12,0.1);
}

.ba-service-card__image {
  position: relative;
  height: 176px;
  overflow: hidden;
}

.ba-service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.ba-service-card:hover .ba-service-card__image img {
  transform: scale(1.1);
}

.ba-service-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.5), transparent);
}

.ba-service-card__icon {
  position: absolute;
  bottom: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  color: #ea580c;
}

.ba-service-card.active .ba-service-card__icon {
  background: #ea580c;
  color: white;
}

.ba-service-card__body {
  padding: 24px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.ba-service-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.ba-service-card__desc {
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
}

.ba-service-card__features {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s;
}

.ba-service-card.active .ba-service-card__features {
  max-height: 900px;
  opacity: 1;
}

.ba-service-card__details {
  padding: 14px 0 16px;
  border-top: 1px solid #f1f5f9;
}

.ba-service-card__details p {
  margin: 0;
  color: #526175;
  font-size: 12px;
  line-height: 1.65;
}

.ba-service-card__details p + p {
  margin-top: 10px;
}

.ba-service-card__features ul {
  list-style: none;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.ba-service-card__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #334155;
  padding: 4px 0;
}

.ba-service-card__features li::before {
  content: "›";
  color: #f97316;
  font-weight: 700;
  font-size: 18px;
}

.ba-service-card__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #ea580c;
  background: none;
  border: none;
  cursor: pointer;
  margin-top: auto;
  padding-top: 16px;
}

@media (max-width: 600px) {
  .ba-service-card__body { min-height: 0; }
  .ba-service-card__toggle { margin-top: 16px; padding-top: 0; }
}

/* ============================================
   PROJETS
   ============================================ */
.ba-projects__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.ba-filter-btn {
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  background: #f1f5f9;
  color: #475569;
}

.ba-filter-btn:hover {
  background: #e2e8f0;
}

.ba-filter-btn.active {
  background: #ea580c;
  color: white;
  box-shadow: 0 10px 15px -3px rgba(234,88,12,0.2);
}

.ba-projects__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .ba-projects__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .ba-projects__grid { grid-template-columns: repeat(3, 1fr); }
}

.ba-project-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
}

.ba-project-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.ba-project-card__image {
  position: relative;
  height: 256px;
  overflow: hidden;
}

.ba-project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.ba-project-card:hover .ba-project-card__image img {
  transform: scale(1.1);
}

.ba-project-card__category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #ea580c;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
}

.ba-project-card__body {
  padding: 24px;
}

.ba-project-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.ba-project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 16px;
}

.ba-project-card p {
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================
   ABOUT
   ============================================ */
.ba-about {
  background: #0f172a;
  color: white;
}

.ba-about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

@media (min-width: 1024px) {
  .ba-about__grid { grid-template-columns: 1fr 1fr; }
}

.ba-about__title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.ba-about__text {
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.ba-about__text--muted {
  color: #94a3b8;
  font-size: 16px;
}

.ba-about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.ba-stat {
  text-align: center;
}

.ba-stat__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(234,88,12,0.2);
  color: #fb923c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.ba-stat__value {
  font-size: 24px;
  font-weight: 700;
  color: white;
}

.ba-stat__label {
  font-size: 14px;
  color: #94a3b8;
}

.ba-about__collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ba-about__collage-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ba-about__collage-col:last-child {
  padding-top: 32px;
}

.ba-about__collage img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.ba-about__collage img:first-child { height: 224px; }
.ba-about__collage img:nth-child(2) { height: 160px; }
.ba-about__collage-col:last-child img:first-child { height: 160px; }
.ba-about__collage-col:last-child img:last-child { height: 224px; }

.ba-about__badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: #ea580c;
  color: white;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
  white-space: nowrap;
}

.ba-team {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  margin-top: clamp(72px, 8vw, 108px);
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.2);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(249,115,22,.12), transparent 34%),
    #172033;
  box-shadow: 0 28px 65px rgba(2,6,23,.32);
}

.ba-team::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: 38%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #f97316);
}

.ba-team__media {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #fff;
}

.ba-team__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.12);
  transform-origin: center 42%;
}

.ba-team__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(15,23,42,.72));
  pointer-events: none;
}

.ba-team__media figcaption {
  position: absolute;
  z-index: 1;
  left: 24px;
  bottom: 22px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(15,23,42,.75);
  color: #fff;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(9px);
}

.ba-team__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 4.5vw, 58px);
}

.ba-team__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: #fb923c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ba-team__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: #f97316;
}

.ba-team__content h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(26px, 3vw, 35px);
  line-height: 1.16;
  letter-spacing: -.025em;
}

.ba-team__content p {
  margin: 0;
  color: #b8c5d6;
  font-size: 15px;
  line-height: 1.75;
}

.ba-team__values {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.ba-team__values span {
  padding: 8px 12px;
  border: 1px solid rgba(251,146,60,.25);
  border-radius: 999px;
  background: rgba(249,115,22,.08);
  color: #fed7aa;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .ba-team { grid-template-columns: 1fr; }
  .ba-team__media img { min-height: 0; aspect-ratio: 4 / 3; }
}

@media (max-width: 600px) {
  .ba-team {
    margin-top: 64px;
    border-radius: 20px;
  }
  .ba-team__media img { aspect-ratio: 1.35 / 1; }
  .ba-team__media figcaption { left: 15px; bottom: 15px; }
  .ba-team__content { padding: 30px 22px 34px; }
  .ba-team__content h3 { font-size: 26px; }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.ba-testimonials {
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}

.ba-testimonials-slider {
  max-width: 896px;
  margin: 0 auto;
}

.ba-testimonial-card {
  background: white;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05);
  border: 1px solid #f1f5f9;
}

@media (max-width: 640px) {
  .ba-testimonial-card { padding: 32px 24px; }
}

.ba-testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}

.ba-testimonial-card__stars span {
  color: #fb923c;
  font-size: 20px;
}

.ba-testimonial-card__text {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #1e293b;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 32px;
}

.ba-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ba-testimonial-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
}

.ba-testimonial-card__name {
  font-weight: 700;
  color: #0f172a;
  font-size: 18px;
}

.ba-testimonial-card__role {
  font-size: 14px;
  color: #64748b;
}

.ba-testimonials-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.ba-testimonials-nav button {
  padding: 12px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: white;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}

.ba-testimonials-nav button:hover {
  background: #f8fafc;
  border-color: #fdba74;
}

.ba-testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.ba-testimonials-dots button {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  background: #cbd5e1;
  padding: 0;
}

.ba-testimonials-dots button.active {
  width: 32px;
  background: #ea580c;
  border-radius: 9999px;
}

/* ============================================
   BLOG
   ============================================ */
.ba-blog__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.ba-blog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .ba-blog__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .ba-blog__grid { grid-template-columns: repeat(3, 1fr); }
}

.ba-article-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.ba-article-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.ba-article-card__image {
  position: relative;
  height: 208px;
  overflow: hidden;
}

.ba-article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.ba-article-card:hover .ba-article-card__image img {
  transform: scale(1.1);
}

.ba-article-card__category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #ea580c;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
}

.ba-article-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ba-article-card__meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 12px;
}

.ba-article-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ba-article-card:hover .ba-article-card__title {
  color: #ea580c;
}

.ba-article-card__excerpt {
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.ba-article-card__link {
  font-size: 14px;
  font-weight: 600;
  color: #ea580c;
  text-decoration: none;
}

.ba-article-card:hover .ba-article-card__link {
  color: #c2410c;
}

/* ============================================
   CONTACT
   ============================================ */
.ba-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .ba-contact__grid { grid-template-columns: 2fr 3fr; }
}

.ba-contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ba-contact__card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  transition: border-color 0.2s;
}

.ba-contact__card:hover {
  border-color: #fed7aa;
}

.ba-contact__card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #ffedd5;
  color: #ea580c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.ba-contact__card-title {
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
}

.ba-contact__card-text {
  font-size: 14px;
  color: #475569;
}

.ba-contact__image {
  border-radius: 16px;
  overflow: hidden;
  height: 224px;
}

.ba-contact__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-contact__form {
  background: #f8fafc;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #f1f5f9;
}

.ba-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (min-width: 640px) {
  .ba-form__row { grid-template-columns: 1fr 1fr; }
}

.ba-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ba-form__label {
  font-size: 14px;
  font-weight: 500;
  color: #334155;
}

.ba-form__input,
.ba-form__select,
.ba-form__textarea {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: white;
  color: #0f172a;
  font-size: 16px;
  transition: all 0.2s;
  font-family: inherit;
}

.ba-form__input:focus,
.ba-form__select:focus,
.ba-form__textarea:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px #ea580c;
}

.ba-form__textarea {
  resize: vertical;
  min-height: 128px;
}

.ba-form__submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ea580c;
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 10px 15px -3px rgba(234,88,12,0.2);
}

.ba-form__submit:hover {
  background: #c2410c;
  transform: scale(1.02);
}

.ba-form__success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  padding: 48px;
  text-align: center;
}

.ba-form__success-icon {
  width: 64px;
  height: 64px;
  color: #22c55e;
  margin: 0 auto 16px;
  font-size: 48px;
  font-weight: 700;
}

.ba-form__success-title {
  font-size: 24px;
  font-weight: 700;
  color: #166534;
  margin-bottom: 8px;
}

.ba-form__success-text {
  color: #15803d;
  margin-bottom: 24px;
}

/* ============================================
   FOOTER
   ============================================ */
.ba-footer {
  background: #0f172a;
  color: #94a3b8;
}

.ba-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 64px 0;
}

@media (min-width: 768px) {
  .ba-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .ba-footer__grid { grid-template-columns: repeat(4, 1fr); }
}

.ba-footer__brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  text-decoration: none;
  transition: opacity .25s ease;
}

.ba-footer__brand:hover {
  opacity: .82;
}

.ba-footer__logo {
  display: block;
  width: min(100%, 230px);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .96;
}

.ba-footer__brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #ea580c;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-footer__brand-name {
  font-size: 18px;
  font-weight: 700;
  color: white;
}

.ba-footer__brand-tagline {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #fb923c;
}

.ba-footer__text {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.ba-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 14px;
  margin-bottom: 12px;
}

.ba-footer__contact-item > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ba-footer__contact-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 8px;
  background: rgba(249,115,22,.12);
  color: #fb923c;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

a.ba-footer__contact-item:hover .ba-footer__contact-icon {
  transform: translateY(-1px);
  background: #ea580c;
  color: #fff;
}

.ba-footer__title {
  font-weight: 600;
  color: white;
  margin-bottom: 24px;
}

.ba-footer__links {
  list-style: none;
}

.ba-footer__links li {
  margin-bottom: 12px;
}

.ba-footer__links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.ba-footer__links a:hover {
  color: #fb923c;
}

.ba-footer__cta-text {
  font-size: 14px;
  margin-bottom: 24px;
}

.ba-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (min-width: 640px) {
  .ba-footer__bottom {
    flex-direction: row;
  }
}

.ba-footer__copyright {
  font-size: 14px;
}

.ba-footer__scroll-top {
  padding: 8px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: background 0.2s;
}

.ba-footer__scroll-top:hover {
  background: rgba(255,255,255,0.2);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 639px) {
  .ba-section { padding: 64px 0; }
  .ba-hero__buttons { flex-direction: column; }
  .ba-hero__buttons .ba-btn { width: 100%; justify-content: center; }
  .ba-slider__counter { display: none; }
  .ba-about__stats { grid-template-columns: 1fr; }
  .ba-about__collage-col:last-child { padding-top: 0; }
}

@media print {
  .ba-header,
  .ba-slider__arrow,
  .ba-slider__dots,
  .ba-footer__scroll-top,
  .ba-testimonials-nav,
  .ba-testimonials-dots {
    display: none !important;
  }
  .ba-hero { min-height: auto; padding: 32px 0; }
}

/* ============================================
   BUTTONS
   ============================================ */
.ba-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.ba-btn--primary {
  background: #ea580c;
  color: white;
  box-shadow: 0 10px 15px -3px rgba(234,88,12,0.25);
}

.ba-btn--primary:hover {
  background: #c2410c;
  transform: scale(1.05);
}

.ba-btn--ghost {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
}

.ba-btn--ghost:hover {
  background: rgba(255,255,255,0.2);
}

/* ============================================
   CONTENU XINSHUN RDC
   ============================================ */
body {
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

.ba-header__logo-icon,
.ba-footer__brand-icon {
  font-size: 20px;
  font-weight: 700;
}

.ba-header__container,
.ba-header__brand,
.ba-header__brand-text {
  min-width: 0;
}

.ba-header__brand-tagline {
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .ba-nav { gap: 22px; }
}

.ba-hero {
  min-height: 0;
  height: 92svh;
  max-height: 900px;
}

.ba-hero__slide img {
  object-position: center;
}

.ba-hero__slide[data-slide="0"] img {
  object-position: center 58%;
}

.ba-hero__overlay {
  background: linear-gradient(to right, rgba(15,23,42,0.94), rgba(15,23,42,0.72) 54%, rgba(15,23,42,0.25));
}

.ba-hero__content {
  padding-top: 112px;
  padding-bottom: 72px;
}

.ba-hero__badge {
  border-radius: 6px;
  letter-spacing: 0;
}

.ba-hero__title {
  max-width: 800px;
  font-size: 64px;
  letter-spacing: 0;
}

.ba-hero__subtitle {
  font-size: 18px;
  max-width: 640px;
}

.ba-section {
  padding: 84px 0;
  scroll-margin-top: 72px;
}

.ba-section__title,
.ba-about__title {
  font-size: 36px;
  letter-spacing: 0;
}

.ba-section__header {
  margin-bottom: 52px;
}

.ba-section__label--light {
  color: #fb923c;
}

.ba-btn,
.ba-nav__cta,
.ba-mobile-menu__cta {
  border-radius: 8px;
}

.ba-btn--compact {
  padding: 12px 20px;
  font-size: 14px;
}

.ba-service-card,
.ba-project-card,
.ba-contact__card,
.ba-contact__form,
.ba-contact__image,
.ba-about__collage img {
  border-radius: 8px;
}

.ba-service-card {
  cursor: default;
}

.ba-service-card__icon {
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.ba-service-card__toggle svg {
  transition: transform 0.2s ease;
}

.ba-service-card.active .ba-service-card__toggle svg {
  transform: rotate(90deg);
}

.ba-projects__filters {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 4px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.ba-filter-btn,
.ba-filter-btn.active,
.ba-project-card__category {
  border-radius: 6px;
}

.ba-project-card__image {
  height: auto;
  aspect-ratio: 16 / 10;
}

.ba-project-card__body {
  min-height: 190px;
}

.ba-project-card__meta {
  margin-bottom: 12px;
  color: #ea580c;
  font-weight: 600;
}

.ba-about__stats {
  gap: 16px;
}

.ba-stat {
  padding-top: 16px;
  border-top: 2px solid rgba(249,115,22,0.45);
}

.ba-about__collage img {
  object-position: center;
}

.ba-timeline-section {
  background: #f8fafc;
}

.ba-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
}

.ba-timeline::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 36px;
  right: 36px;
  height: 2px;
  background: #cbd5e1;
}

.ba-timeline__item {
  position: relative;
  z-index: 1;
}

.ba-timeline__year {
  width: 72px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #0f172a;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 0 0 8px #f8fafc;
}

.ba-timeline__item h3 {
  margin-bottom: 10px;
  color: #0f172a;
  font-size: 19px;
  line-height: 1.35;
}

.ba-timeline__item p {
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
}

.ba-workshop {
  background: #ffffff;
}

.ba-workshop__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.ba-workshop__content .ba-section__title {
  margin-bottom: 20px;
}

.ba-workshop__lead {
  margin-bottom: 24px;
  color: #475569;
  font-size: 18px;
  line-height: 1.7;
}

.ba-workshop blockquote {
  margin-bottom: 28px;
  padding: 18px 0 18px 22px;
  border-left: 3px solid #ea580c;
  color: #0f172a;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
}

.ba-workshop__products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 0 0 32px;
  list-style: none;
  border-top: 1px solid #e2e8f0;
}

.ba-workshop__products li {
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
}

.ba-workshop__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ba-workshop__image {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #e2e8f0;
  aspect-ratio: 4 / 3;
}

.ba-workshop__image--wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 8;
}

.ba-workshop__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-workshop__image figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(15,23,42,0.9);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

.ba-contact__card-icon {
  border-radius: 8px;
}

.ba-contact__card-text a {
  color: #334155;
  text-decoration: underline;
  text-decoration-color: #fdba74;
  text-underline-offset: 3px;
}

.ba-form__group--message {
  margin-bottom: 24px;
}

.ba-form__error {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fef2f2;
  color: #991b1b;
}

.ba-form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ba-footer__contact-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ba-footer__contact-item {
  color: #94a3b8;
}

a.ba-footer__contact-item:hover {
  color: #fb923c;
}

.ba-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ba-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1023px) {
  .ba-workshop__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

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

  .ba-timeline::before {
    display: none;
  }
}

@media (max-width: 767px) {
  .ba-header__brand {
    padding: 0;
  }

  .ba-header__logo {
    width: auto !important;
    height: 34px !important;
    max-width: 136px;
  }

  .ba-header__container,
  .ba-section__container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .ba-header__brand-tagline {
    max-width: 205px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ba-hero {
    height: 94svh;
  }

  .ba-hero__content {
    padding: 86px 18px 54px;
  }

  .ba-hero__badge {
    margin-bottom: 16px;
    padding: 5px 10px;
    font-size: 12px;
  }

  .ba-hero__title {
    max-width: 360px;
    margin-bottom: 16px;
    font-size: 40px;
  }

  .ba-hero__subtitle {
    max-width: 520px;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.55;
  }

  .ba-btn {
    padding: 13px 20px;
    font-size: 14px;
  }

  .ba-slider__arrow {
    display: none;
  }

  .ba-slider__dots {
    bottom: 18px;
  }

  .ba-section {
    padding: 64px 0;
  }

  .ba-section__title,
  .ba-about__title {
    font-size: 30px;
  }

  .ba-section__desc,
  .ba-about__text,
  .ba-workshop__lead {
    font-size: 16px;
  }

  .ba-projects__filters {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .ba-filter-btn {
    flex: 0 0 auto;
    padding: 8px 14px;
  }

  .ba-about__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .ba-stat__value {
    font-size: 21px;
  }

  .ba-stat__label {
    font-size: 12px;
  }

  .ba-timeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ba-timeline__item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 18px;
  }

  .ba-timeline__year {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .ba-timeline__item h3 {
    align-self: end;
  }

  .ba-workshop__products {
    grid-template-columns: 1fr;
  }

  .ba-workshop__gallery {
    grid-template-columns: 1fr;
  }

  .ba-workshop__image,
  .ba-workshop__image--wide {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }

  .ba-contact__form {
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .ba-header__brand-tagline {
    max-width: 175px;
    font-size: 9px;
  }

  .ba-hero__title {
    font-size: 34px;
  }

  .ba-about__stats {
    grid-template-columns: 1fr;
  }

  .ba-stat {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
