/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE — Khomo Attorneys
   Extends styles.css design tokens and base components
═══════════════════════════════════════════════════════════ */

/* ── PAGE HERO ─────────────────────────────────────────── */
.about-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  background: url('images/imgi_11_header.jpg') center 30% / cover no-repeat;
  padding: 10rem 0 5rem;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1,27,29,0.90) 0%, rgba(1,67,69,0.70) 100%);
}

.about-hero .container {
  position: relative;
  z-index: 2;
}

.about-hero-content {
  text-align: center;
  color: var(--white);
  max-width: 640px;
  margin: 0 auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.section-badge::before,
.section-badge::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.about-hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.8rem;
}

.about-hero-content .hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
}

/* ── QUALIFICATIONS ────────────────────────────────────── */
.qualifications {
  padding: 6rem 0;
  background: var(--white);
}

.qualifications-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.qualifications-content .section-badge {
  color: var(--teal-600);
}

.qualifications-content .section-badge::before,
.qualifications-content .section-badge::after {
  background: var(--teal-600);
}

.qualifications-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.qualifications-content .lead {
  font-size: 1.05rem;
  color: var(--ink-60);
  line-height: 1.75;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.professional-areas h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
}

.specialization-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
}

.specialization-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--ink-60);
  font-weight: 500;
}

.specialization-list li i {
  color: var(--gold);
  font-size: 0.75rem;
  flex-shrink: 0;
  background: var(--gold-100);
  border: 1px solid var(--gold-200);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image column */
.qualifications-image {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.qualification-photo {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.quote-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 2rem 2rem;
  background: linear-gradient(to top, rgba(1,27,29,0.95) 0%, transparent 100%);
}

.quote-overlay blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.65;
  position: relative;
  padding-left: 1.2rem;
  border-left: 3px solid var(--gold);
}

/* ── PHILOSOPHY ────────────────────────────────────────── */
.philosophy {
  background: var(--teal-800);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.philosophy::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(201,168,76,0.04);
  pointer-events: none;
}

.philosophy-content {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-content > .section-badge {
  color: var(--gold);
}

.philosophy-content > .section-badge::before,
.philosophy-content > .section-badge::after {
  background: var(--gold);
}

.philosophy-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 3rem;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  text-align: left;
}

.philosophy-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 4px solid var(--gold);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.philosophy-item blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
}

.philosophy-item cite {
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.philosophy-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.highlight-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  transition: background var(--t-norm), transform var(--t-norm);
}

.highlight-item:hover {
  background: rgba(255,255,255,0.07);
  transform: translateX(4px);
}

.highlight-item h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.highlight-item p {
  font-size: 0.9rem;
  color: var(--teal-200);
  line-height: 1.65;
}

/* ── STATS STRIP (between philosophy & CTA) ────────────── */
.about-stats-strip {
  background: var(--gold);
  padding: 3rem 0;
}

.about-stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 3.5rem;
}

.about-stat strong {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.about-stat span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-80);
  margin-top: 0.3rem;
}

.about-stat-sep {
  width: 1px;
  height: 44px;
  background: rgba(0,0,0,0.15);
}

/* ── CTA SECTION ───────────────────────────────────────── */
.about-cta {
  padding: 7rem 0;
  background: url('images/imgi_11_header.jpg') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.about-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
  pointer-events: none;
}


.cta-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-content > p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.cta-content .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* btn-primary / btn-secondary mapped to site tokens */
.btn-primary {
  background: var(--teal-700);
  color: var(--white);
  border: 2px solid var(--teal-700);
}

.btn-primary:hover {
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-secondary:hover {
  background: #ffffff;
  color: var(--teal-700);
}

/* ── PROFESSIONAL EXPERIENCE ───────────────────────────── */
.professional-experience {
  padding: 6rem 0;
  background: var(--white);
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: stretch;
}

.experience-content .section-badge {
  color: var(--teal-600);
}

.experience-content .section-badge::before,
.experience-content .section-badge::after {
  background: var(--teal-600);
}

.experience-content > h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2rem;
}

.expertise-areas {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.expertise-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-alt);
  transition: box-shadow var(--t-norm), transform var(--t-norm), border-color var(--t-norm);
}

.expertise-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
  border-color: var(--teal-200);
}

.expertise-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--teal-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.expertise-icon i {
  font-size: 1.1rem;
  color: var(--gold);
}

/* override conflicting class name from about.html */
.expertise-item > .expertise-content {
  flex: 1;
}

.expertise-item h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.expertise-item p {
  font-size: 0.9rem;
  color: var(--ink-60);
  line-height: 1.65;
}

/* ── IMAGE GRID ────────────────────────────────────────── */
.experience-images {
  position: relative;
}

.experience-image {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 450px;
}

.experience-image::before {
  display: none;
}

.experience-image .professional-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.experience-image:hover .professional-photo {
  transform: scale(1.04);
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.image-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}

.image-item.main-image {
  grid-column: 1 / -1;
  height: 320px;
}

.image-item:not(.main-image) {
  height: 180px;
}

.professional-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.image-item:hover .professional-photo {
  transform: scale(1.04);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1,27,29,0.85) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--t-norm);
}

.image-item:hover .image-overlay {
  opacity: 1;
}

.overlay-content h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.overlay-content p {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ── ABOUT FOOTER (unique structure on this page) ──────── */
.site-footer .footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  padding: 4rem 0 2rem;
  align-items: start;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-brand .footer-logo {
  max-width: 140px;
  margin-bottom: 0.6rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--teal-200);
  letter-spacing: 0.06em;
}

.footer-content > p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-nav-group h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-nav-group .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-group .footer-nav a {
  font-size: 0.875rem;
  color: var(--teal-200);
  transition: color var(--t-fast);
}

.footer-nav-group .footer-nav a:hover {
  color: var(--gold);
}

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .qualifications-grid,
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .qualifications-image {
    max-height: 420px;
  }

  .qualification-photo {
    height: 420px;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 8rem 0 4rem;
  }

  .specialization-list {
    grid-template-columns: 1fr;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

  .image-item.main-image {
    grid-column: 1;
    height: 260px;
  }

  .image-item:not(.main-image) {
    height: 200px;
  }

  .site-footer .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .about-stat {
    padding: 0.5rem 2rem;
  }
}

@media (max-width: 480px) {
  .philosophy-item {
    padding: 1.8rem 1.4rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .about-stats-grid {
    flex-direction: column;
    gap: 0.5rem;
  }

  .about-stat-sep {
    width: 60px;
    height: 1px;
  }
}
