/* Homepage — clean & professional */

.page-home .main-content--home { padding: 0; }

.hp-wrap {
  --hp-red: #b91c1c;
  --hp-red-deep: #991b1b;
  --hp-red-soft: #fef2f2;
  --hp-ink: #1c1917;
  --hp-muted: #57534e;
  --hp-line: #e7e5e4;
  --hp-bg: #ffffff;
  --hp-bg-alt: #f8fafc;
}

/* ── Hero ── */
.hp-hero {
  position: relative;
  background: var(--hp-ink);
  overflow: hidden;
}
.hp-hero__stage {
  position: relative;
  min-height: clamp(440px, 56vh, 560px);
}
.hp-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s;
}
.hp-hero__slide.is-on { opacity: 1; visibility: visible; z-index: 1; }
.hp-hero__bg {
  position: absolute;
  inset: 0;
  background: var(--hp-red-deep);
}
.hp-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 5, 6, 0.82) 0%, rgba(15, 5, 6, 0.45) 60%, rgba(15, 5, 6, 0.25) 100%);
  z-index: 1;
}
.hp-hero__body {
  position: relative;
  z-index: 2;
  min-height: clamp(440px, 56vh, 560px);
  display: flex;
  align-items: center;
  padding: 2rem 0 3.5rem;
}
.hp-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  width: 100%;
}
.hp-hero__copy { max-width: 540px; }
.hp-hero__label {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--hp-red);
  border-radius: 4px;
}
.hp-hero__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
}
.hp-hero__text {
  margin: 0 0 1.35rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}
.hp-hero__btns { display: flex; flex-wrap: wrap; gap: 0.65rem; }

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.hp-btn--fill {
  color: #fff !important;
  background: var(--hp-red);
  border-color: var(--hp-red);
}
.hp-btn--fill:hover { background: var(--hp-red-deep); border-color: var(--hp-red-deep); }
.hp-btn--ghost {
  color: #fff !important;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}
.hp-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.hp-btn--red {
  color: #fff !important;
  background: var(--hp-red);
  border-color: var(--hp-red);
}
.hp-btn--red:hover { background: var(--hp-red-deep); border-color: var(--hp-red-deep); }

.hp-hero__ctrl {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.2s;
}
.hp-hero__ctrl:hover { background: var(--hp-red); border-color: var(--hp-red); }
.hp-hero__ctrl--prev { left: 1rem; }
.hp-hero__ctrl--next { right: 1rem; }
.hp-hero__foot {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.5rem;
}
.hp-hero__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.hp-hero__dot.is-on { background: #fff; transform: scale(1.15); }

/* ── Stats ── */
.hp-stats {
  background: var(--hp-bg);
  border-bottom: 1px solid var(--hp-line);
}
.hp-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.hp-stat {
  padding: 1.35rem 1rem;
  text-align: center;
  border-right: 1px solid var(--hp-line);
}
.hp-stat:last-child { border-right: none; }
.hp-stat__value {
  display: block;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--hp-red);
  line-height: 1.1;
}
.hp-stat__label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--hp-muted);
}

/* ── Quick links ── */
.hp-strip {
  background: var(--hp-bg-alt);
  border-bottom: 1px solid var(--hp-line);
}
.hp-strip__grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hp-strip__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0.75rem;
  text-decoration: none;
  color: var(--hp-ink);
  font-size: 0.8125rem;
  font-weight: 600;
  border-right: 1px solid var(--hp-line);
  transition: color 0.2s, background 0.2s;
}
.hp-strip__link:last-child { border-right: none; }
.hp-strip__link:hover { color: var(--hp-red); background: #fff; }
.hp-strip__icon {
  display: flex;
  color: var(--hp-red);
}
.hp-strip__icon svg { display: block; }

/* ── Sections ── */
.hp-section { padding: 3.5rem 0; }
.hp-section--alt { background: var(--hp-bg-alt); }
.hp-container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

.hp-head {
  margin-bottom: 2rem;
  text-align: center;
}
.hp-head__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--hp-ink);
  letter-spacing: -0.02em;
}
.hp-head__title span { color: var(--hp-red); }
.hp-head__line {
  width: 40px;
  height: 3px;
  margin: 0 auto 0.65rem;
  background: var(--hp-red);
  border-radius: 2px;
}
.hp-head__sub {
  margin: 0 auto;
  max-width: 520px;
  font-size: 0.9375rem;
  color: var(--hp-muted);
  line-height: 1.6;
}

/* ── Hub cards ── */
.hp-hub {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.hp-hub--team-only {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}
.hp-hub__team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.hp-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--hp-line);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.hp-card__head {
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: var(--hp-red);
}
.hp-card__head--muted { background: var(--hp-red-deep); }
.hp-card__body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hp-card--news .hp-card__body { max-height: 420px; overflow-y: auto; }

.hp-news { list-style: none; margin: 0; padding: 0; }
.hp-news li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--hp-line);
}
.hp-news li:last-child { border-bottom: none; padding-bottom: 0; }
.hp-news li:first-child { padding-top: 0; }
.hp-news time {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--hp-muted);
  margin-bottom: 0.2rem;
}
.hp-news a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hp-ink);
  text-decoration: none;
  line-height: 1.4;
}
.hp-news a:hover { color: var(--hp-red); }
.hp-news p {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--hp-muted);
}
.hp-empty {
  margin: 0;
  font-size: 0.875rem;
  color: var(--hp-muted);
  text-align: center;
  padding: 1rem 0.5rem;
}

.hp-people { position: relative; min-height: 190px; flex: 1; }
.hp-person { display: none; text-align: center; padding: 0.25rem 0; }
.hp-person.is-on { display: block; }
.hp-person__photo {
  width: 100px;
  height: 100px;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--hp-line);
}
.hp-person__photo img { width: 100%; height: 100%; object-fit: cover; }
.hp-person__name { margin: 0; font-size: 0.9rem; font-weight: 700; color: var(--hp-ink); }
.hp-person__role { margin: 0.1rem 0 0; font-size: 0.78rem; color: var(--hp-muted); }
.hp-person__nav {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.5rem;
}
.hp-person__nav button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--hp-line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  color: var(--hp-ink);
  font-size: 0.95rem;
}
.hp-person__nav button:hover { border-color: var(--hp-red); color: var(--hp-red); }

/* ── About ── */
.hp-about {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hp-line);
  box-shadow: 0 4px 24px rgba(28, 25, 23, 0.06);
  background: #fff;
}
.hp-about__brand {
  position: relative;
  padding: 2.5rem 2rem;
  background: linear-gradient(165deg, var(--hp-red-deep) 0%, var(--hp-red) 55%, #dc2626 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hp-about__brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.12), transparent 45%);
  pointer-events: none;
}
.hp-about__brand-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hp-about__logo {
  width: 112px;
  height: 112px;
  margin: 0 auto 1.25rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-about__logo img {
  display: block;
  width: 100%;
  height: auto;
}
.hp-about__name {
  margin: 0 0 0.45rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hp-about__org {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}
.hp-about__main {
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hp-about__pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.hp-about__pillar {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 0.75rem;
  background: var(--hp-bg-alt);
  border: 1px solid var(--hp-line);
  border-radius: 10px;
}
.hp-about__pillar-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--hp-red);
  background: var(--hp-red-soft);
}
.hp-about__pillar h3 {
  margin: 0 0 0.15rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--hp-ink);
  line-height: 1.2;
}
.hp-about__pillar p {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--hp-muted);
}
.hp-about__text {
  margin: 0 0 1.35rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--hp-muted);
  max-width: 62ch;
}
.hp-about__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  padding: 0.65rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--hp-red) !important;
  text-decoration: none;
  border: 2px solid var(--hp-red);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.hp-about__cta:hover {
  color: #fff !important;
  background: var(--hp-red);
  border-color: var(--hp-red);
}
.hp-about__cta svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}
.hp-about__cta:hover svg { transform: translateX(3px); }

/* ── Objectives ── */
.hp-obj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.hp-obj {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--hp-line);
}
.hp-obj__img { aspect-ratio: 4/3; overflow: hidden; }
.hp-obj__img img { width: 100%; height: 100%; object-fit: cover; }
.hp-obj__info { padding: 0.85rem 1rem; }
.hp-obj__info h3 { margin: 0 0 0.2rem; font-size: 0.95rem; font-weight: 700; color: var(--hp-ink); }
.hp-obj__info p { margin: 0; font-size: 0.8rem; color: var(--hp-muted); line-height: 1.5; }

/* ── Events (homepage grid) ── */
.hp-events {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.hp-events__cta { text-align: center; margin-top: 1.5rem; }
.hp-events__empty {
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--hp-muted);
  background: #fff;
  border: 1px dashed var(--hp-line);
  border-radius: 10px;
}

/* ── Gallery ── */
.hp-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.hp-gallery__item {
  position: relative;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--hp-line);
  background: #fff;
}
.hp-gallery__link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.hp-gallery__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.hp-gallery__link:hover img { transform: scale(1.06); }
.hp-gallery__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  transition: background 0.25s ease;
  pointer-events: none;
}
.hp-gallery__zoom svg {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease;
  color: #fff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
.hp-gallery__link:hover .hp-gallery__zoom { background: rgba(0, 0, 0, 0.38); }
.hp-gallery__link:hover .hp-gallery__zoom svg {
  opacity: 1;
  transform: scale(1);
}
.hp-gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.45rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  pointer-events: none;
}
.hp-gallery__empty {
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--hp-muted);
  background: #fff;
  border: 1px dashed var(--hp-line);
  border-radius: 10px;
}
.hp-gallery__cta { text-align: center; margin-top: 1.5rem; }

/* ── Testimonials ── */
.hp-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}
.hp-quote {
  margin: 0;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--hp-line);
  text-align: center;
}
.hp-quote__avatar {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--hp-line);
}
.hp-quote__avatar img { width: 100%; height: 100%; object-fit: cover; }
.hp-quote p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--hp-muted);
  line-height: 1.65;
}
.hp-quote footer strong { display: block; font-size: 0.875rem; color: var(--hp-ink); }
.hp-quote footer span { font-size: 0.75rem; color: var(--hp-muted); }

/* ── Contact ── */
.hp-contact {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--hp-line);
  background: #fff;
}
.hp-contact iframe { width: 100%; min-height: 300px; border: 0; display: block; }
.hp-contact__info {
  padding: 1.25rem;
  background: var(--hp-bg-alt);
  display: flex;
  flex-direction: column;
}
.hp-contact__row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--hp-line);
}
.hp-contact__row:last-of-type { border-bottom: none; }
.hp-contact__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--hp-red);
  border: 1px solid var(--hp-line);
}
.hp-contact__row strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--hp-muted);
  margin-bottom: 0.1rem;
}
.hp-contact__row p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--hp-ink);
}
.hp-contact__row a { color: var(--hp-red); text-decoration: none; font-weight: 600; }
.hp-contact__row a:hover { text-decoration: underline; }
.hp-contact__btn { width: 100%; margin-top: auto; padding-top: 0.75rem; }

/* ── CTA ── */
.hp-cta {
  background: var(--hp-red-deep);
  color: #fff;
  padding: 3.5rem 0;
}
.hp-cta__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.hp-cta h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
}
.hp-cta p {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}
.hp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}
.hp-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}
.hp-cta__btn--primary {
  color: var(--hp-red-deep) !important;
  background: #fff;
  border-color: #fff;
}
.hp-cta__btn--primary:hover { background: var(--hp-red-soft); }
.hp-cta__btn--outline {
  color: #fff !important;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}
.hp-cta__btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.hp-cta__apps-label {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.hp-cta__badges .app-badge {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}
.hp-cta__badges .app-badge:hover {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.35);
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .hp-hub { grid-template-columns: 1fr; }
  .hp-card--news .hp-card__body { max-height: none; }
  .hp-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .hp-stat:nth-child(2) { border-right: none; }
  .hp-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .hp-strip__link:nth-child(2) { border-right: none; }
  .hp-gallery { grid-template-columns: repeat(2, 1fr); }
  .hp-events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .hp-about {
    grid-template-columns: 1fr;
  }
  .hp-about__brand {
    padding: 2rem 1.5rem;
  }
  .hp-about__main {
    padding: 1.5rem;
  }
  .hp-about__cta {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 640px) {
  .hp-hero__ctrl { display: none; }
  .hp-hero__btns { flex-direction: column; }
  .hp-hero__btns .hp-btn { width: 100%; }
  .hp-hub__team { grid-template-columns: 1fr; }
  .hp-stats__grid { grid-template-columns: 1fr 1fr; }
  .hp-stat { border-right: none; border-bottom: 1px solid var(--hp-line); }
  .hp-stat:nth-child(odd) { border-right: 1px solid var(--hp-line); }
  .hp-stat:nth-last-child(-n+2) { border-bottom: none; }
  .hp-strip__grid { grid-template-columns: 1fr; }
  .hp-strip__link { border-right: none; border-bottom: 1px solid var(--hp-line); }
  .hp-strip__link:last-child { border-bottom: none; }
  .hp-contact { grid-template-columns: 1fr; }
  .hp-section { padding: 2.5rem 0; }
  .hp-cta__btn { width: 100%; }
  .hp-events { grid-template-columns: 1fr; }
  .hp-event__img,
  .hp-event__img img { height: 200px; max-height: 200px; }
}
