/* /assets/css/about.css
   Professional About page upgrade for HabeshaCute.
   Safe CSS-only layer for /about.php.
*/

.about-page {
  background:
    radial-gradient(circle at 8% 0%, rgba(124, 58, 237, .18), transparent 30%),
    radial-gradient(circle at 92% 10%, rgba(236, 72, 153, .16), transparent 28%),
    radial-gradient(circle at 70% 100%, rgba(249, 115, 22, .09), transparent 32%),
    linear-gradient(135deg, #fff7fb 0%, #f8fafc 46%, #f5f3ff 100%);
  color: #12091f;
}

.about-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 34px 0 64px;
}

.about-hero {
  position: relative;
  overflow: hidden;
  border-radius: 42px;
  background:
    radial-gradient(circle at 92% 10%, rgba(236, 72, 153, .18), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.84));
  border: 1px solid rgba(255,255,255,.92);
  box-shadow:
    0 34px 100px rgba(15, 23, 42, .13),
    inset 0 1px 0 rgba(255,255,255,.96);
}

.about-hero::before {
  content: "";
  position: absolute;
  right: -110px;
  top: -130px;
  width: 390px;
  height: 390px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(124,58,237,.16), rgba(236,72,153,.14));
}

.about-hero::after {
  content: "";
  position: absolute;
  left: -100px;
  bottom: -130px;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(16,185,129,.10), rgba(249,115,22,.10));
}

.about-hero__main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .72fr);
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
}

.about-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(124,58,237,.10);
  color: #6d28d9;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about-badge--soft {
  background: rgba(236,72,153,.10);
  color: #be185d;
}

.about-hero h1 {
  max-width: 820px;
  margin: 18px 0 0;
  color: #12091f;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .96;
  letter-spacing: -.085em;
}

.about-hero h1 span,
.about-section-head h2 span {
  background: linear-gradient(135deg, #7c3aed, #ec4899, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-lead {
  max-width: 710px;
  margin: 22px 0 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.8;
}

.about-hero__actions,
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.about-hero .btn,
.about-actions .btn,
.about-empty .btn {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 950;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}

.about-hero .btn--primary,
.about-actions .btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #12091f, #7c3aed 55%, #ec4899);
  box-shadow: 0 20px 46px rgba(124,58,237,.24);
}

.about-hero .btn--ghost,
.about-actions .btn--ghost {
  color: #12091f;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(226,232,240,.88);
  box-shadow: 0 12px 28px rgba(15,23,42,.07);
}

.about-hero .btn:hover,
.about-actions .btn:hover {
  transform: translateY(-2px);
}

.about-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.about-hero__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(226,232,240,.74);
  color: #334155;
  font-size: 13px;
  font-weight: 850;
}

.about-hero__visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.about-hero__visual-glow {
  position: absolute;
  width: min(360px, 86%);
  height: min(360px, 86%);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(124,58,237,.22), rgba(236,72,153,.18));
  filter: blur(10px);
}

.about-hero__image-card {
  position: relative;
  width: min(390px, 100%);
  aspect-ratio: 4 / 5;
  padding: 12px;
  border-radius: 38px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.92);
  box-shadow:
    0 30px 86px rgba(15,23,42,.18),
    inset 0 1px 0 rgba(255,255,255,.92);
  transform: rotate(2deg);
}

.about-hero__image-card::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 34px;
  width: 92px;
  height: 92px;
  border-radius: 30px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  box-shadow: 0 20px 44px rgba(124,58,237,.25);
}

.about-hero__image {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 30px;
  object-fit: cover;
  background: linear-gradient(135deg, #f5f3ff, #fdf2f8);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.about-card,
.about-mini-card,
.about-value-card,
.about-cta-box {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(226,232,240,.82);
  box-shadow:
    0 20px 58px rgba(15,23,42,.08),
    inset 0 1px 0 rgba(255,255,255,.88);
}

.about-card {
  padding: 26px;
  border-radius: 32px;
}

.about-card--accent {
  background:
    radial-gradient(circle at 90% 12%, rgba(236,72,153,.14), transparent 38%),
    rgba(255,255,255,.94);
}

.about-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.about-card h2,
.about-section-head h2,
.about-cta-box h2 {
  margin: 0;
  color: #12091f;
  letter-spacing: -.045em;
}

.about-card h2 {
  font-size: 27px;
}

.about-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(124,58,237,.09);
  color: #6d28d9;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.about-copy p,
.about-card p,
.about-mini-card p,
.about-value-card p,
.about-cta-box p {
  color: #475569;
  line-height: 1.72;
}

.about-copy p {
  margin: 0 0 14px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-list li {
  position: relative;
  padding: 13px 14px 13px 42px;
  border-radius: 18px;
  background: #f8fafc;
  color: #334155;
  font-weight: 800;
  line-height: 1.45;
}

.about-list li::before {
  content: "✓";
  position: absolute;
  left: 13px;
  top: 12px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(16,185,129,.12);
  color: #047857;
  font-size: 12px;
  font-weight: 950;
}

.about-why,
.about-values {
  margin-top: 22px;
  padding: 30px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 92% 10%, rgba(124,58,237,.10), transparent 32%),
    rgba(255,255,255,.70);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 24px 70px rgba(15,23,42,.08);
}

.about-section-head {
  max-width: 780px;
  margin: 0 auto 20px;
  text-align: center;
}

.about-section-head h2 {
  margin-top: 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.about-section-head p {
  margin: 13px auto 0;
  max-width: 680px;
  color: #64748b;
  line-height: 1.7;
}

.about-why__grid,
.about-values__grid {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.about-why__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-values__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-mini-card,
.about-value-card {
  padding: 22px;
  border-radius: 28px;
  transition: transform .16s ease, box-shadow .16s ease;
}

.about-mini-card:hover,
.about-value-card:hover,
.about-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 76px rgba(15,23,42,.11);
}

.about-mini-card__icon,
.about-value-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 19px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(124,58,237,.12), rgba(236,72,153,.10));
  font-size: 24px;
}

.about-mini-card h3,
.about-value-card h3 {
  margin: 0 0 8px;
  color: #12091f;
  font-size: 19px;
  letter-spacing: -.025em;
}

.about-mini-card p,
.about-value-card p {
  margin: 0;
}

.about-grid--mission {
  margin-top: 22px;
}

.about-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 22px;
  padding: 30px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 90% 10%, rgba(236,72,153,.18), transparent 34%),
    linear-gradient(135deg, #12091f, #3b0764 50%, #7c3aed);
  color: #fff;
}

.about-cta-box h2,
.about-cta-box p {
  color: #fff;
}

.about-cta-box p {
  max-width: 620px;
  margin: 10px 0 0;
  opacity: .86;
}

.about-cta-box .btn--primary {
  background: #fff;
  color: #12091f;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.about-cta-box .btn--ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
}

/* fallback when image file does not exist */
.about-hero__image[src=""],
.about-hero__image:not([src]) {
  display: none;
}

@media (max-width: 980px) {
  .about-hero__main,
  .about-grid,
  .about-why__grid,
  .about-values__grid,
  .about-cta-box {
    grid-template-columns: 1fr;
  }

  .about-cta-box {
    align-items: flex-start;
  }

  .about-hero__visual {
    min-height: 330px;
  }

  .about-hero__image-card {
    max-width: 330px;
  }
}

@media (max-width: 640px) {
  .about-shell {
    width: min(100% - 20px, 1180px);
    padding: 18px 0 38px;
  }

  .about-hero,
  .about-card,
  .about-why,
  .about-values,
  .about-cta-box {
    border-radius: 28px;
  }

  .about-hero__main {
    padding: 24px;
  }

  .about-hero h1 {
    font-size: 39px;
  }

  .about-lead {
    font-size: 15.5px;
  }

  .about-hero__actions,
  .about-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .about-hero .btn,
  .about-actions .btn {
    width: 100%;
  }

  .about-hero__chips {
    display: grid;
    grid-template-columns: 1fr;
  }

  .about-card__head {
    display: grid;
  }

  .about-why,
  .about-values {
    padding: 22px;
  }

  .about-section-head h2 {
    font-size: 31px;
  }
}

html[data-theme="dark"] .about-page,
body.theme-dark.about-page {
  background:
    radial-gradient(circle at 8% 0%, rgba(124,58,237,.24), transparent 32%),
    #0f172a;
}

html[data-theme="dark"] .about-hero,
body.theme-dark .about-hero,
html[data-theme="dark"] .about-card,
body.theme-dark .about-card,
html[data-theme="dark"] .about-mini-card,
body.theme-dark .about-mini-card,
html[data-theme="dark"] .about-value-card,
body.theme-dark .about-value-card,
html[data-theme="dark"] .about-why,
body.theme-dark .about-why,
html[data-theme="dark"] .about-values,
body.theme-dark .about-values {
  background: #111827;
  border-color: rgba(255,255,255,.08);
}

html[data-theme="dark"] .about-hero h1,
body.theme-dark .about-hero h1,
html[data-theme="dark"] .about-card h2,
body.theme-dark .about-card h2,
html[data-theme="dark"] .about-section-head h2,
body.theme-dark .about-section-head h2,
html[data-theme="dark"] .about-mini-card h3,
body.theme-dark .about-mini-card h3,
html[data-theme="dark"] .about-value-card h3,
body.theme-dark .about-value-card h3 {
  color: #f8fafc;
}

html[data-theme="dark"] .about-lead,
body.theme-dark .about-lead,
html[data-theme="dark"] .about-copy p,
body.theme-dark .about-copy p,
html[data-theme="dark"] .about-section-head p,
body.theme-dark .about-section-head p,
html[data-theme="dark"] .about-mini-card p,
body.theme-dark .about-mini-card p,
html[data-theme="dark"] .about-value-card p,
body.theme-dark .about-value-card p {
  color: #cbd5e1;
}