/* Braifi International School — Homepage (fresh build) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

/* Reset site-wide header link colors inside homepage content */
.bis-home a {
  color: inherit;
  text-decoration: none;
}
.bis-home a:hover {
  color: inherit;
}

.bis-home {
  /* Local aliases — bound to global brand tokens from buttons.css */
  --navy:       #1f1f1f;
  --navy-light: #3a3a3a;
  --red:        #f39200;
  --red-hover:  #d97e00;
  --gold:       #ffb84d;
  --white:      #ffffff;
  --bg:         #f8f9fa;
  --text:       #3a3a3a;
  --muted:      #6b6b6b;
  --radius:     14px;
  --shadow:     0 16px 40px rgba(31, 31, 31, 0.08);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--navy);
  background: var(--white);
}

.bis-home h1, .bis-home h2, .bis-home .bis-serif {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
}

.bis-wrap { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }

.bis-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}

/* —— Hero —— */
.bis-hero {
  position: relative;
  padding: 4.5rem 0 0;
  background:
    radial-gradient(1200px 600px at 100% 0%, rgba(255, 184, 77, 0.18), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(243, 146, 0, 0.22), transparent 65%),
    linear-gradient(135deg, #1f1f1f 0%, #2d2d2d 50%, #3a3a3a 100%);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.bis-hero__bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(31, 31, 31, 0.88) 0%, rgba(31, 31, 31, 0.55) 60%, rgba(31, 31, 31, 0.92) 100%);
  z-index: 0;
}

/* Decorative animated background shapes */
.bis-hero__shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.bis-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: bisFloat 16s ease-in-out infinite;
}

.bis-hero__blob--1 {
  width: 360px; height: 360px;
  background: rgba(255, 184, 77, 0.55);
  top: -120px; left: -100px;
  animation-delay: 0s;
}

.bis-hero__blob--2 {
  width: 460px; height: 460px;
  background: rgba(243, 146, 0, 0.4);
  bottom: -180px; right: -160px;
  animation-delay: -6s;
}

.bis-hero__blob--3 {
  width: 280px; height: 280px;
  background: rgba(75, 75, 75, 0.6);
  top: 30%; right: 30%;
  animation-delay: -10s;
  opacity: 0.5;
}

@keyframes bisFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.05); }
  66%      { transform: translate(-30px, 25px) scale(0.95); }
}

.bis-hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* Split layout */
.bis-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.5rem;
  align-items: center;
  padding: 3.5rem 1.25rem 4rem;
}

.bis-hero__content { animation: bisRise 0.7s ease-out both; }
.bis-hero__media   { animation: bisRise 0.7s 0.15s ease-out both; }

@keyframes bisRise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Eyebrow pill */
.bis-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  margin-bottom: 1.4rem;
}

.bis-hero__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(255, 184, 77, 0.6);
  animation: bisPulse 2s infinite;
}

@keyframes bisPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 184, 77, 0.6); }
  70%  { box-shadow: 0 0 0 12px rgba(255, 184, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 184, 77, 0); }
}

.bis-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.85rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
  color: var(--white);
  max-width: 18ch;
}

.bis-hero__accent {
  background: linear-gradient(120deg, var(--red) 0%, var(--gold) 50%, var(--red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  white-space: nowrap;
}

.bis-hero__lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 38rem;
  margin-bottom: 2rem;
}

.bis-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.bis-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bis-btn:hover { transform: translateY(-2px); }

.bis-btn--red {
  background: var(--red);
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(243, 146, 0, 0.35);
}
.bis-btn--red:hover {
  background: var(--red-hover);
  color: #fff !important;
  box-shadow: 0 16px 36px rgba(243, 146, 0, 0.45);
}

.bis-btn--white { background: var(--white); color: var(--navy) !important; }
.bis-btn--outline { background: transparent; color: #fff !important; border: 2px solid rgba(255,255,255,0.5); }
.bis-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}
.bis-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Trust row */
.bis-hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 1rem 0.65rem 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  backdrop-filter: blur(8px);
}

.bis-hero__avatars { display: inline-flex; }

.bis-hero__avatars span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  border: 2px solid var(--navy);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  letter-spacing: 0;
}

.bis-hero__avatars span + span { margin-left: -10px; }

.bis-hero__trust-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.bis-hero__trust-text span {
  display: block;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Hero media (right side) */
.bis-hero__media {
  position: relative;
  height: clamp(360px, 50vw, 520px);
}

.bis-hero__card--main {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
  transform: perspective(1500px) rotateY(-4deg) rotateX(2deg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bis-hero__card-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--red) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bis-hero__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bis-hero__card-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.bis-hero__card-fallback i {
  font-size: 4rem;
  color: var(--gold);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.3));
}

.bis-hero__card-fallback span {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bis-hero__card-image.is-fallback img { display: none; }
.bis-hero__card-image.is-fallback .bis-hero__card-fallback { display: flex; }

.bis-hero__card-tag {
  position: absolute;
  bottom: 1.1rem;
  left: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  background: rgba(31, 31, 31, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  z-index: 2;
}

.bis-hero__card-tag i { color: var(--gold); }

/* Floating badges */
.bis-hero__badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.97);
  color: var(--navy);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  z-index: 3;
  animation: bisHover 6s ease-in-out infinite;
}

.bis-hero__badge--top {
  top: 1.5rem;
  left: -1.5rem;
}

.bis-hero__badge--bottom {
  bottom: 2rem;
  right: -1rem;
  animation-delay: -3s;
}

@keyframes bisHover {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.bis-hero__badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.bis-hero__badge strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.15;
  font-weight: 800;
}

.bis-hero__badge span {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
}

/* Stats bar */
.bis-hero__bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px 18px 0 0;
  border-bottom: 0;
  overflow: hidden;
  backdrop-filter: blur(6px);
  margin-top: 1rem;
}

.bis-hero__stat {
  background: rgba(31, 31, 31, 0.55);
  padding: 1.2rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.bis-hero__stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 184, 77, 0.18);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.bis-hero__stat > div { display: flex; flex-direction: column; }

.bis-hero__stat strong {
  display: block;
  font-size: 1.1rem;
  font-family: 'Fraunces', serif;
  color: #fff;
  line-height: 1.1;
}

.bis-hero__stat span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.15rem;
}

/* Scroll indicator */
.bis-hero__scroll {
  position: absolute;
  bottom: 7rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.55) !important;
  z-index: 5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bis-hero__scroll:hover { color: var(--gold) !important; }

.bis-hero__scroll-text {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bis-hero__scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid currentColor;
  border-radius: 12px;
  position: relative;
}

.bis-hero__scroll-mouse span {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  background: currentColor;
  border-radius: 2px;
  animation: bisScroll 1.8s ease-in-out infinite;
}

@keyframes bisScroll {
  0%   { transform: translateY(0); opacity: 1; }
  60%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* Hero responsive */
@media (max-width: 991px) {
  .bis-hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem 1.25rem 3rem;
  }

  .bis-hero__media {
    height: clamp(280px, 60vw, 380px);
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .bis-hero__badge--top    { top: 1rem;    left: 0.5rem; }
  .bis-hero__badge--bottom { bottom: 1rem; right: 0.5rem; }

  .bis-hero__scroll { display: none; }

  .bis-hero__bar {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 14px;
    margin-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 575px) {
  .bis-hero { padding-top: 2.5rem; }
  .bis-hero h1 { max-width: 100%; }
  .bis-hero__bar { grid-template-columns: 1fr; }
  .bis-hero__badge { padding: 0.55rem 0.75rem; }
  .bis-hero__badge strong { font-size: 0.78rem; }
  .bis-hero__badge span { font-size: 0.65rem; }
  .bis-hero__badge-icon { width: 30px; height: 30px; font-size: 0.85rem; }
}

/* —— Quick nav —— */
.bis-quick {
  background: var(--white);
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 8rem;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.bis-home section[id],
.bis-home #hero {
  scroll-margin-top: 8rem;
}

.bis-quick__inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.bis-quick a {
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none !important;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.bis-quick a:hover { color: var(--red); border-bottom-color: var(--red); }

/* —— Sections —— */
.bis-section { padding: 4.5rem 0; }
.bis-section--gray { background: var(--bg); }

.bis-head { text-align: center; max-width: 34rem; margin: 0 auto 2.5rem; }
.bis-head h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); margin-bottom: 0.5rem; }
.bis-head p { color: var(--muted); margin: 0; line-height: 1.6; }

/* Steps */
.bis-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bis-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid #e2e8f0;
  position: relative;
}

.bis-section--gray .bis-step { box-shadow: var(--shadow); border: none; }

.bis-step__num {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.bis-step h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.05rem; margin-bottom: 0.5rem; }
.bis-step p { font-size: 0.875rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* About */
.bis-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.bis-about__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.bis-about__img img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }

.bis-checklist { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.bis-checklist li {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--text);
}
.bis-checklist i { color: var(--red); margin-top: 0.15rem; }

/* Programs */
.bis-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.bis-level {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid #e2e8f0;
  text-decoration: none !important;
  color: inherit !important;
  transition: box-shadow 0.2s, transform 0.2s;
}

.bis-level:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.bis-level img { width: 100%; height: 180px; object-fit: cover; }
.bis-level__body { padding: 1.25rem; }
.bis-level__body h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.bis-level__body p { font-size: 0.85rem; color: var(--muted); margin: 0 0 0.75rem; }
.bis-level__link { font-size: 0.8rem; font-weight: 700; color: var(--red) !important; }

/* Principal */
.bis-quote {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.75rem;
  align-items: center;
}

.bis-quote img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
}

.bis-quote blockquote {
  margin: 0 0 0.75rem;
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  line-height: 1.65;
  font-style: italic;
}

.bis-quote cite { font-style: normal; font-weight: 600; color: var(--gold); }

/* News */
.bis-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.bis-news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  text-decoration: none !important;
  color: inherit !important;
  transition: box-shadow 0.2s;
}

.bis-news-card:hover { box-shadow: var(--shadow); }
.bis-news-card img { width: 100%; height: 160px; object-fit: cover; }
.bis-news-card__body { padding: 1.15rem; }
.bis-news-card__date { font-size: 0.75rem; font-weight: 600; color: var(--red); }
.bis-news-card h3 { font-size: 1rem; margin: 0.35rem 0 0; line-height: 1.35; }

/* Gallery */
.bis-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.bis-gallery__item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
}

.bis-gallery__item:first-child { grid-column: span 2; grid-row: span 2; }

.bis-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.bis-gallery__item:hover img { transform: scale(1.05); }

.bis-gallery__item a {
  position: absolute;
  inset: 0;
  background: rgba(243, 146, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  opacity: 0;
  transition: opacity 0.25s;
}

.bis-gallery__item:hover a { opacity: 1; }

/* ===============================================================
   Testimonials — auto-scrolling marquee
   =============================================================== */
.bis-section--marquee { padding-bottom: 4.5rem; }

.bis-section--marquee .bis-head { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.bis-section--marquee .bis-head__lead { color: var(--muted); font-size: 1rem; margin: 0.6rem 0 0; }

.bis-reviews-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1.5rem 0 0.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.bis-reviews-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.25rem;
  width: max-content;
  padding: 0 1.25rem;
  animation: bis-marquee-scroll var(--bis-marquee-duration, 60s) linear infinite;
  will-change: transform;
}

.bis-reviews-marquee:hover .bis-reviews-track,
.bis-reviews-marquee:focus-within .bis-reviews-track {
  animation-play-state: paused;
}

@keyframes bis-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .bis-reviews-track { animation: none; transform: none; }
  .bis-reviews-marquee {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .bis-review { scroll-snap-align: start; }
}

.bis-review {
  flex: 0 0 360px;
  max-width: 360px;
  background: var(--white);
  padding: 1.75rem 1.65rem 1.5rem;
  border-radius: 18px;
  border: 1px solid var(--bis-gray-100);
  border-top: 4px solid var(--bis-orange);
  box-shadow: 0 12px 32px rgba(31, 31, 31, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bis-review:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(31, 31, 31, 0.1);
}

.bis-review__quote {
  font-size: 1.6rem;
  color: var(--bis-orange);
  opacity: 0.45;
  line-height: 1;
}

.bis-review p {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
  flex: 1;
  /* Clamp very long testimonials so each card is the same height. */
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bis-review__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--bis-gray-100);
}

.bis-review__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bis-orange) 0%, var(--bis-orange-dark) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(243, 146, 0, 0.3);
}

.bis-review__person { display: flex; flex-direction: column; line-height: 1.25; }
.bis-review__person strong { font-size: 0.95rem; color: var(--bis-gray-900); }
.bis-review__person small { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

@media (max-width: 768px) {
  .bis-section--marquee { padding-bottom: 3rem; }
  .bis-reviews-track { gap: 1rem; padding: 0 1rem; }
  .bis-review {
    flex: 0 0 80vw;
    max-width: 320px;
    padding: 1.5rem 1.4rem 1.3rem;
  }
  .bis-review p { font-size: 0.92rem; -webkit-line-clamp: 7; }
}

/* Team */
.bis-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

.bis-team__card { text-align: center; }
.bis-team__card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
}
.bis-team__card h4 { font-size: 0.95rem; margin: 0 0 0.15rem; }
.bis-team__card span { font-size: 0.8rem; color: var(--red); font-weight: 600; }

/* CTA band */
.bis-cta {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-hover) 60%, var(--navy) 130%);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-radius: var(--radius);
}

.bis-cta h2 { color: var(--white); margin-bottom: 0.75rem; }
.bis-cta p { opacity: 0.92; max-width: 32rem; margin: 0 auto 1.5rem; }

/* Contact */
.bis-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.bis-form {
  background: var(--bg);
  padding: 1.75rem;
  border-radius: var(--radius);
}

.bis-field { margin-bottom: 1rem; }
.bis-field label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.3rem; }
.bis-field input, .bis-field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: inherit;
}
.bis-field input:focus, .bis-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(243, 146, 0, 0.18);
}

.bis-alert { padding: 0.85rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.9rem; }
.bis-alert--ok { background: #dcfce7; color: #166534; }
.bis-alert--err { background: #fee2e2; color: #991b1b; }

.bis-map iframe { width: 100%; height: 280px; border: 0; border-radius: var(--radius); }
.bis-contact-list { margin-top: 1rem; }
.bis-contact-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  color: var(--navy) !important;
  text-decoration: none !important;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.95rem;
}
.bis-contact-list i { color: var(--red); width: 20px; text-align: center; }

@media (max-width: 991px) {
  .bis-about, .bis-contact { grid-template-columns: 1fr; }
  .bis-steps, .bis-levels, .bis-news, .bis-team { grid-template-columns: 1fr; }
  .bis-gallery { grid-template-columns: repeat(2, 1fr); }
  .bis-gallery__item:first-child { grid-column: span 2; grid-row: span 1; }
  .bis-quote { grid-template-columns: 1fr; text-align: center; }
  .bis-quote img { margin: 0 auto; }
}

@media (max-width: 575px) {
  .bis-quick a { padding: 0.75rem 1rem; font-size: 0.8rem; }
}
