/* ==========================================================================
   IKON PARTITIONS — ABOUT PAGE STYLES
   ========================================================================== */

/* ==========================================================================
   HERO — mobile-only helpers (hidden on desktop; activated in media query)
   ========================================================================== */

.abt-tag-mobile { display: none; }
.abt-hero-scroll { display: none; }

/* ==========================================================================
   WHO WE ARE
   ========================================================================== */

.abt-who {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.abt-who-left {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 96px var(--padding-x) 96px;
  padding-right: 80px;
}

.abt-who-left .section-tag {
  color: var(--primary);
}

.abt-who-left .section-tag::before {
  background: var(--primary);
}

.abt-who-title {
  font-size: 38.4px;
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 32px;
}

.abt-who-body {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: #5A5550;
  margin-bottom: 20px;
}

.abt-who-quote {
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  color: #9A9490;
  margin-top: 32px;
  border-left: 2px solid var(--primary);
  background: white;
  padding: 30px;
}

.abt-who-right {
  position: relative;
  background-color: var(--bg-cream);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.abt-who-stat-card {
  position: relative;
  z-index: 2;
  margin-bottom: 32px;
  background: rgba(17, 17, 17, 0.92);
  padding: 32px 40px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 12px;
  flex-direction: column;
}

.abt-who-stat-num {
  font-family: 'Arial', sans-serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.abt-stat-plus {
  font-size: 19px;
  font-weight: 400;
  color: var(--primary);
}

.abt-who-stat-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11.4px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9A9490;
  align-self: center;
}

/* ==========================================================================
   MISSION
   ========================================================================== */

.abt-mission {
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
  padding: 120px 0;
}

.abt-mission-lines {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 var(--padding-x);
}

.abt-mission-lines span {
  display: block;
  width: 1px;
  height: 140%;
  background: rgba(255,255,255,0.04);
  transform: rotate(20deg);
  transform-origin: center;
}

.abt-mission-inner {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 64px;
  max-width: none;
}

.abt-mission-left {
    flex: 0 0 auto;
    width: 47%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.abt-mission-right {
  flex: 1;
}

.abt-mission-title {
  font-size: 38.4px;
  font-weight: 300;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}

.abt-mission-sub {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 3px;
    color: #F7F4EF;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.abt-mission-sub::after {
    content: '';
    flex: 1;
    height: 2px;
    background: #B8965A;
    max-width: 24px;
}

.abt-mission-card {
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  padding: 48px;
  margin-bottom: 32px;
}

.abt-mission-statement-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.abt-mission-statement-label::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--primary);
  transform: rotate(-60deg);
  opacity: 0.7;
}

.abt-mission-quote {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  margin-bottom: 0;
}

.abt-mission-body {
  font-family: 'Outfit', sans-serif;
  font-size: 15.2px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255,255,255,0.75);
}

/* ==========================================================================
   CORE VALUES
   ========================================================================== */

.abt-values {
  background: #fff;
  padding: 120px 0;
}

.abt-values-header {
  text-align: left;
  margin-bottom: 72px;
}

.abt-values-header .section-tag {
  justify-content: flex-start;
}

.abt-values-title {
  font-size: 38.4px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.abt-values-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 15.2px;
  font-weight: 300;
  line-height: 1.75;
  color: #5A5550;
  max-width: 560px;
}

.abt-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  /* border: 1px solid rgba(0,0,0,0.08); */
}

.abt-value-card {
  padding: 48px 40px;
  border-right: 2px solid #E8E3D9;
  border-bottom: 2px solid #E8E3D9;
  background: #fff;
  transition: background 0.3s ease;
}

.abt-value-card:nth-child(3n) { border-right: none; }
.abt-value-card:nth-child(n+4) { border-bottom: none; }
.abt-value-card:hover { background: #fbf8f4; }

.abt-value-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 4px;
  margin-bottom: 24px;
}

.abt-value-icon {
    border-color: #B8965A;
}
.abt-value-icon img {
  width: 28px;
  height: 28  px;
}

.abt-value-title {
  font-size: 24px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.abt-value-body {
  font-family: 'Outfit', sans-serif;
  font-size: 14.7px;
  font-weight: 300;
  line-height: 1.85;
  color: #5A5550;
}

/* ==========================================================================
   PARTNERS (About override)
   ========================================================================== */

.abt-partners {
  background: #F5F0E8;
}

.abt-partners .partners-title {
  color: var(--text-dark);
}

.abt-partners .partners-desc {
  color: #5A5550;
}

.abt-partners .partner-card {
  background: #ffffff;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.abt-cta {
  background: #ffffff;
  padding: 120px 0;
  text-align: left;
}

.abt-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

.abt-cta-text {
  max-width: 520px;
}

.abt-cta-inner .section-tag {
  justify-content: flex-start;
  color: var(--primary);
}

.abt-cta-inner .section-tag::before {
  background: var(--primary);
}

.abt-cta-title {
  font-family: 'Arial', sans-serif;
  font-size: 38.4px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.abt-cta-title .italic-serif {
  font-family: Arial, sans-serif;
  font-style: italic;
}

.abt-cta-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 15.2px;
  font-weight: 300;
  line-height: 1.85;
  color: #5A5550;
  max-width: 520px;
}

.abt-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  flex-shrink: 0;
}

.abt-cta-link {
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
    text-align: center;
    width: 100%;
}

.abt-cta-link:hover {
  color: var(--primary);
}

.about-gin-btn {
  background: black;
  color: white;
}

/* ==========================================================================
   RESPONSIVE — ABOUT PAGE
   ========================================================================== */

@media (max-width: 992px) {
  .abt-who { grid-template-columns: 1fr; }
  .abt-who-left { padding: 72px 24px; }
  .abt-who-right { min-height: 320px; }
  .abt-who-stat-card { margin: 20px; padding: 24px 28px; }
  .abt-who-stat-num { font-size: 34px; }
  .abt-who-title { font-size: 30px; }

  .abt-mission { padding: 80px 0; }
  .abt-mission-inner { flex-direction: column; gap: 40px; }
  .abt-mission-left, .abt-mission-right { width: 100%; }
  .abt-mission-card { padding: 32px; }
  .abt-mission-title { font-size: 30px; }

  .abt-values { padding: 80px 0; }
  .abt-values-title { font-size: 30px; }
  .abt-values-grid { grid-template-columns: 1fr 1fr; }
  .abt-value-card:nth-child(3n) { border-right: 1px solid rgba(0,0,0,0.08); }
  .abt-value-card:nth-child(2n) { border-right: none; }
  .abt-value-card:nth-child(n+5) { border-bottom: none; }
  .abt-value-card:nth-child(4) { border-bottom: 1px solid rgba(0,0,0,0.08); }
  .abt-value-card { padding: 36px 28px; }

  .abt-cta { padding: 80px 0; }
  .abt-cta-title { font-size: 30px; }
}

@media (max-width: 768px) {
  .abt-mission-card {
    height: 440px;
    padding: 48px;
    opacity: 0.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
  }
  .abt-mission-card .abt-mission-quote { font-weight: 300; color: #fff; }

  .abt-values-grid { grid-template-columns: 1fr; }
  .abt-value-card { border-right: none !important; margin: 20px 0 14px; }
  .abt-value-card:nth-child(n+6) { border-bottom: none; }
  .abt-value-card:nth-child(-n+5) { border-bottom: 2px solid #E8E3D9; }

  .abt-cta-inner { flex-direction: column; align-items: flex-start; gap: 32px; }
  .abt-cta-text { max-width: none; }
  .abt-cta-actions { flex-direction: column; align-items: flex-start; gap: 20px; width: 100%; }
  .abt-cta-actions .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   HERO — MOBILE (matches Figma: full-height image, larger title, scroll cue)
   Scoped to .abt-hero so the shared .page-hero on other pages is untouched.
   ========================================================================== */

@media (max-width: 768px) {
  .abt-hero {
    height: 750px;
    align-items: flex-start;
    /* Mobile-only hero photo (desktop keeps its inline Image.png) */
    background-image: url('../img/About/about-mobile.png') !important;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  }

  /* Even top-down darkening so the heading/quote stay legible over the photo */
  .abt-hero .page-hero-overlay {
    background: linear-gradient(180deg,
      rgba(8,8,8,0.82) 0%,
      rgba(8,8,8,0.70) 45%,
      rgba(8,8,8,0.78) 100%);
  }

  .abt-hero .page-hero-inner {
    padding: 60px 18px 0;
  }

  .abt-hero .section-tag {
    margin-bottom: 20px;
    font-size: 11px;
    letter-spacing: 2px;
    white-space: nowrap;
  }
  .abt-tag-desktop { display: none; }
  .abt-tag-mobile  { display: inline; }

  .abt-hero .page-hero-title {
    font-size: 46px;
    line-height: 1.1;
    margin-bottom: 26px;
  }
  /* Match Figma line breaks: "Partition" and "Company" each on their own line */
  .abt-hero .abt-title-word { display: block; }

  .abt-hero .page-hero-desc {
    font-size: 17.5px;
    line-height: 1.8;
    max-width: 300px;
    font-weight: 300;
    font-style: italic;
    border-left: 2px solid var(--primary);
    padding-left: 16px;
    color: rgba(255, 255, 255, 0.88);
  }

  /* Vertical SCROLL cue — bottom-left so it clears the fixed WhatsApp button */
  .abt-hero-scroll {
    position: absolute;
    right: 20px;
    left: auto;
    bottom: 34px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    writing-mode: vertical-rl;
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
  }

  .abt-hero-scroll-line {
    width: 1px;
    height: 46px;
    background: rgba(255, 255, 255, 0.45);
  }

  /* ── Who We Are → 500+ stat band: full-width dark footer over the photo ── */
  .abt-who-right {
    min-height: 380px;
    height: 380px;
  }

  .abt-who-stat-card {
    margin: 0;
    width: 100%;
    background: rgba(12, 12, 12, 0.94);
    padding: 32px 32px 32px 32px;
    gap: 10px;
    left: 70px;
    bottom: 70px;
  }

  .abt-who-stat-num { font-size: 42px; }

  .abt-who-stat-label {
    letter-spacing: 1.6px;
    align-self: flex-start;
  }
}
