/* ============================================
   About Us Page — Responsive & Well-Structured
   ============================================ */

.about-page {
  --ab-grey: #e8e8e8;
  --ab-grey-dark: #d4d4d4;
  --ab-panel-bg: #ebebeb;
  --ab-serif: var(--font-heading);
  --ab-sans: var(--font-body);
  --ab-black: #1a1a1a;
  --ab-text: #4a4a4a;
  --ab-radius: 20px;
  --ab-radius-lg: 28px;
}

.navbar-nav .nav-link.active-page {
  color: var(--brand-red, #e31e24);
  font-weight: 600;
}

/* ── 1. HERO SECTION ── */
.ab-hero {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(1.5rem, 4vw, 3rem);
}

.ab-hero-text {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.ab-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--ab-black);
  line-height: 1.2;
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.ab-hero-desc {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--ab-text);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.ab-hero-media {
  background: var(--ab-grey);
  border-radius: var(--ab-radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  min-height: clamp(200px, 30vw, 350px);
}

.ab-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── 2. PILLARS SECTION ── */
.ab-pillars {
  padding: clamp(0rem, 0vw, -0.5rem) 0;
}

.ab-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--ab-black);
  margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
}

.ab-section-desc {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--ab-text);
  line-height: 1.75;
  max-width: 800px;
  margin: 0 auto;
}

/* ── 3. OWNER SECTION ── */
.ab-owner {
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.ab-serif-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--ab-black);
  line-height: 1.2;
  margin-bottom: clamp(0.5rem, 2vw, 1rem);
}

.ab-owner-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 700;
  color: var(--ab-black);
  margin: 0 0 1rem;
}

.ab-owner-para {
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 1.8vw, 0.925rem);
  color: var(--ab-text);
  line-height: 1.7;
  margin: 0 0 0.85rem;
}

.ab-owner-para:last-child {
  margin-bottom: 0;
}

.ab-owner-photo-wrap {
  border-radius: var(--ab-radius);
  overflow: hidden;
  background: var(--ab-grey);
  width: 50%;
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  max-height: 550px;
}

.ab-owner-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* object-position: center top; */
}

/* ── 4. Values ── */
.ab-values {
  padding: var(--ab-section-y) 0;
}

.ab-values-header {
  margin-bottom: 1.25rem;
}

.ab-values-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.ab-values-tab {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ab-black);
  background: var(--ab-grey);
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1.35rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.ab-values-tab:hover {
  background: var(--ab-grey-dark);
}

.ab-values-tab.active {
  background: #b0b0b0;
  color: var(--ab-black);
  font-weight: 600;
}

.ab-values-progress {
  width: 100%;
  max-width: 280px;
  height: 3px;
  background: var(--ab-grey);
  border-radius: 3px;
  margin: 0 auto 1.25rem;
  overflow: hidden;
}

.ab-values-progress-bar {
  width: 0%;
  height: 100%;
  background: var(--brand-red, #e31e24);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.ab-values-panel {
  background: var(--ab-panel-bg);
  border-radius: var(--ab-radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  transition: opacity 0.35s ease;
}

.ab-values-panel.is-fading {
  opacity: 0.55;
}

.ab-values-row {
  --bs-gutter-x: var(--ab-gap);
  --bs-gutter-y: 1rem;
}

.ab-values-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  color: var(--ab-black);
}

.ab-values-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--ab-black);
  margin: 0 0 0.65rem;
}

.ab-values-text {
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 1.8vw, 0.925rem);
  color: var(--ab-text);
  line-height: 1.7;
  margin: 0;
  max-width: 440px;
}

.ab-values-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 0.5rem;
}

.ab-telescope-svg {
  width: 100%;
  max-width: 260px;
  height: auto;
}

/* ── 5. Products ── */
.ab-products {
  /* padding: var(--ab-section-y) 0 calc(var(--ab-section-y) * 1.25); */
  padding-top: 20px;
}

.ab-products-row {
  --bs-gutter-x: var(--ab-gap);
  --bs-gutter-y: var(--ab-gap);
}

.ab-products-desc {
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 1.8vw, 0.925rem);
  color: var(--ab-text);
  line-height: 1.7;
  margin: 0.75rem 0 0;
}

.ab-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.ab-product-cell {
  background: var(--ab-grey);
  border-radius: var(--ab-radius);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
  overflow: hidden;
}

.ab-product-cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── Tablet ── */
@media (max-width: 991.98px) {
  .ab-hero-media {
    aspect-ratio: 16 / 9;
    max-height: 280px;
  }

  .ab-owner-photo-wrap {
    max-width: 360px;
    max-height: 400px;
  }

  .ab-values-text {
    max-width: 100%;
  }

  .ab-products-grid {
    gap: 0.6rem;
  }
}

/* ── Mobile ── */
@media (max-width: 767.98px) {
  .about-page {
    --ab-section-y: 1.75rem;
    --ab-gap: 1.25rem;
  }

  .ab-hero-media {
    aspect-ratio: 16 / 10;
    max-height: 220px;
    border-radius: var(--ab-radius);
  }

  .ab-owner-photo-wrap {
    max-width: 100%;
    max-height: 650px;
    margin-bottom: 0.25rem;
  }

  .ab-products .row {
    flex-direction: column;
  }

  .ab-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(0.5rem, 1.5vw, 0.75rem);
  }

  .ab-values-tabs {
    gap: 0.5rem;
  }
}

/* Small Mobile (max-width: 575px) */
@media (max-width: 575.98px) {
  .ab-hero-media {
    border-radius: var(--ab-radius);
    min-height: 180px;
  }

  .ab-values-panel {
    border-radius: var(--ab-radius);
    padding: 1.25rem 1rem;
  }

  .ab-product-cell {
    border-radius: 16px;
    padding: 0.5rem;
  }

  .ab-products-grid {
    gap: 0.5rem;
  }
}

/* ── DARK MODE ── */
[data-theme="dark"] .about-page {
  --ab-grey: #2a2a2a;
  --ab-grey-dark: #3a3a3a;
  --ab-panel-bg: #242424;
  --ab-black: #ffffff;
  --ab-text: #cccccc;
}

[data-theme="dark"] .ab-values-icon {
  background: rgba(227, 30, 36, 0.2);
}

[data-theme="dark"] .ab-product-cell:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .ab-telescope-svg circle,
[data-theme="dark"] .ab-telescope-svg path,
[data-theme="dark"] .ab-telescope-svg line,
[data-theme="dark"] .ab-telescope-svg ellipse,
[data-theme="dark"] .ab-telescope-svg rect {
  stroke: #cccccc;
}