/* =============================================================================
   ABOUT PAGE — Premium Editorial Layout
   Calm, modern, trust-first. Lots of whitespace.
   Scoped to .about-page
   ============================================================================= */

/* ========== PAGE BASE ========== */

.about-page {
  background: #FFFFFF;
  color: #111111;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== SHARED ========== */

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HERO ========== */

.about-hero {
  padding: 140px 24px 0;
}

.about-hero__panel {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #1A2332;
}

.about-hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.30) 0%,
    rgba(17, 24, 39, 0.58) 50%,
    rgba(17, 24, 39, 0.85) 100%
  );
}

/* Top breadcrumb area */
.about-hero__top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px 36px;
}

.about-hero__brand {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.01em;
}

.about-hero__breadcrumb-sep {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

.about-hero__breadcrumb {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

/* Content area */
.about-hero__content {
  position: relative;
  z-index: 3;
  padding: 0 36px 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.about-hero__text {
  flex: 1;
  max-width: 560px;
}

.about-hero__headline {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.about-hero__sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
  max-width: 420px;
}

/* Large "About Us" overlay text — flows right above headline */
.about-hero__overlay-text {
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.14);
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  margin-bottom: -8px;
}

/* Stat cards on right side */
.about-hero__stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.about-hero__stat {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
}

.about-hero__stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FFFFFF;
}

.about-hero__stat-icon svg {
  width: 18px;
  height: 18px;
}

.about-hero__stat-text {
  display: flex;
  flex-direction: column;
}

.about-hero__stat-label {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
}

.about-hero__stat-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* ========== HOW IT WORKS — EXPANDED FLOWCHART ========== */

.about-steps {
  padding: 24px 24px 48px;
  background: #FFFFFF;
}

.about-steps__header {
  text-align: center;
  margin-bottom: 48px;
}

.about-steps__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #2F80ED;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.about-steps__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2F80ED;
}

.about-steps__title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 12px;
}

.about-steps__subtitle {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.about-steps__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-steps__card {
  background: #F9FAFB;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 24px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.about-steps__card:hover {
  background: #FFFFFF;
  border-color: rgba(47, 128, 237, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
  transform: translateY(-4px);
}

.about-steps__card-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.about-steps__num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #2F80ED;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-steps__connector {
  display: none;
}

/* Show connector arrows between cards on desktop */
.about-steps__card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-top: 2px solid #D1D5DB;
  border-right: 2px solid #D1D5DB;
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}

.about-steps__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #EAF2FF;
  color: #2F80ED;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 1px solid rgba(47, 128, 237, 0.08);
}

.about-steps__icon svg {
  width: 24px;
  height: 24px;
}

.about-steps__card-title {
  font-size: 17px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.about-steps__card-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
}

/* ========== STORY SECTION ========== */

.about-story {
  padding: 96px 24px;
  background: #F5F7FA;
}

.about-story__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-story__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #2F80ED;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.about-story__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2F80ED;
}

.about-story__title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 24px;
}

.about-story__text {
  font-size: 16px;
  color: #4B5563;
  line-height: 1.7;
  margin: 0 0 16px;
}

.about-story__text:last-of-type {
  margin-bottom: 32px;
}

/* Pill tabs */
.about-story__tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.about-story__tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  cursor: default;
  transition: all 0.2s ease;
}

.about-story__tab:hover {
  border-color: #2F80ED;
  color: #2F80ED;
  background: #EAF2FF;
}

.about-story__tab svg {
  width: 14px;
  height: 14px;
  color: #2F80ED;
}

/* Story image */
.about-story__visual {
  position: relative;
}

.about-story__image {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #E5E7EB;
  aspect-ratio: 4 / 3;
}

.about-story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== WHY URBANCE ========== */

.about-why {
  padding: 96px 24px;
  background: #FFFFFF;
}

.about-why__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-why__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #2F80ED;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.about-why__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2F80ED;
}

.about-why__title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 36px;
}

.about-why__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-why__feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: 20px;
  background: #F9FAFB;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-why__feature:hover {
  background: #FFFFFF;
  border-color: rgba(47, 128, 237, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.about-why__feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #2F80ED;
  background: #EAF2FF;
  border: 1px solid rgba(47, 128, 237, 0.08);
}

.about-why__feature-icon svg {
  width: 20px;
  height: 20px;
}

.about-why__feature-content {
  flex: 1;
}

.about-why__feature-title {
  font-size: 16px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 4px;
}

.about-why__feature-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
}

/* Right column — single image, centered */
.about-why__visuals {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.about-why__image-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #E5E7EB;
}

.about-why__image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-why__image-card--main {
  width: 100%;
  max-width: 480px;
}

.about-why__image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
}

/* ========== BOTTOM BACKGROUND IMAGE WRAPPER ========== */

.about-bottom-bg {
  position: relative;
  overflow: hidden;
}

.about-bottom-bg__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-bottom-bg__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-bottom-bg__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(245, 247, 250, 0.88) 0%,
    rgba(245, 247, 250, 0.82) 40%,
    rgba(245, 247, 250, 0.75) 100%
  );
}

/* ========== TESTIMONIALS CAROUSEL ========== */

.about-quote {
  padding: 96px 24px;
  background: transparent;
  position: relative;
  z-index: 2;
}

.about-quote__header {
  text-align: center;
  margin-bottom: 48px;
}

.about-quote__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #2F80ED;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.about-quote__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2F80ED;
}

.about-quote__heading {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
}

.about-quote__carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  min-height: 320px;
}

.about-quote__card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-radius: 28px;
  padding: 48px;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.06);
  text-align: center;
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  visibility: hidden;
}

.about-quote__card--active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
  z-index: 2;
}

.about-quote__card--exit {
  opacity: 0;
  transform: translateY(-20px) scale(0.97);
  z-index: 1;
}

.about-quote__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #EAF2FF;
  color: #2F80ED;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.about-quote__icon svg {
  width: 24px;
  height: 24px;
}

.about-quote__text {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 500;
  color: #111111;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}

.about-quote__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.about-quote__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2F80ED, #56CCF2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.about-quote__info {
  text-align: left;
}

.about-quote__name {
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  margin: 0;
}

.about-quote__location {
  font-size: 13px;
  color: #6B7280;
  margin: 0;
}

.about-quote__verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #059669;
  background: #ECFDF5;
  padding: 5px 12px;
  border-radius: 999px;
  margin-left: 8px;
}

.about-quote__verified svg {
  width: 12px;
  height: 12px;
}

/* Carousel dots */
.about-quote__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.about-quote__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #D1D5DB;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.about-quote__dot:hover {
  background: #9CA3AF;
}

.about-quote__dot--active {
  background: #2F80ED;
  width: 28px;
  border-radius: 999px;
}

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

.about-newsletter {
  padding: 64px 24px 96px;
  background: transparent;
  position: relative;
  z-index: 2;
}

.about-newsletter__card {
  max-width: 640px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 24px;
  padding: 40px;
  text-align: center;
}

.about-newsletter__title {
  font-size: 24px;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.about-newsletter__sub {
  font-size: 15px;
  color: #6B7280;
  margin: 0 0 24px;
}

.about-newsletter__form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}

.about-newsletter__input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  color: #111111;
  background: #FFFFFF;
  outline: none;
  transition: border-color 0.2s ease;
}

.about-newsletter__input::placeholder {
  color: #9CA3AF;
}

.about-newsletter__input:focus {
  border-color: #2F80ED;
  box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.1);
}

.about-newsletter__btn {
  padding: 14px 24px;
  background: #2F80ED;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.about-newsletter__btn:hover {
  background: #1A6FDB;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 128, 237, 0.3);
}

.about-newsletter__btn:focus-visible {
  outline: 2px solid #2F80ED;
  outline-offset: 3px;
}

.about-newsletter__note {
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 12px;
}

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 1024px) {
  .about-hero {
    padding: 120px 16px 0;
  }

  .about-hero__panel {
    min-height: 440px;
    border-radius: 24px;
  }

  .about-hero__content {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 28px 32px;
  }

  .about-hero__stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .about-hero__stat {
    min-width: auto;
    padding: 12px 16px;
  }

  .about-steps__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .about-steps__card:not(:last-child)::after {
    display: none;
  }

  .about-story__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-why__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .about-hero {
    padding: 100px 12px 0;
  }

  .about-hero__panel {
    min-height: 520px;
    border-radius: 20px;
  }

  .about-hero__top {
    padding: 20px 24px;
  }

  .about-hero__content {
    padding: 0 24px 28px;
  }

  .about-hero__headline {
    font-size: 30px;
  }

  .about-hero__overlay-text {
    font-size: 52px;
  }

  .about-hero__stats {
    flex-direction: column;
    width: 100%;
  }

  .about-hero__stat {
    min-width: 0;
  }

  /* Steps: stack vertically */
  .about-steps {
    padding: 24px 16px 48px;
  }

  .about-steps__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-steps__card:not(:last-child)::after {
    display: none;
  }

  /* Story */
  .about-story {
    padding: 64px 16px;
  }

  .about-story__title {
    font-size: 28px;
  }

  /* Why */
  .about-why {
    padding: 64px 16px;
  }

  .about-why__title {
    font-size: 28px;
  }

  /* Quote carousel */
  .about-quote {
    padding: 64px 16px;
  }

  .about-quote__carousel {
    min-height: 380px;
  }

  .about-quote__card {
    padding: 32px 24px;
    border-radius: 20px;
  }

  .about-quote__text {
    font-size: 18px;
  }

  .about-quote__author {
    flex-direction: column;
    gap: 8px;
  }

  .about-quote__info {
    text-align: center;
  }

  /* Newsletter */
  .about-newsletter {
    padding: 0 16px 64px;
  }

  .about-newsletter__card {
    padding: 32px 20px;
    border-radius: 20px;
  }

  .about-newsletter__form {
    flex-direction: column;
  }

  .about-newsletter__btn {
    width: 100%;
  }
}

/* Small mobile */
@media (max-width: 400px) {
  .about-hero {
    padding: 90px 8px 0;
  }

  .about-hero__panel {
    border-radius: 18px;
    min-height: 480px;
  }

  .about-hero__headline {
    font-size: 26px;
  }

  .about-hero__overlay-text {
    font-size: 44px;
  }

  .about-hero__stat {
    padding: 10px 14px;
    border-radius: 12px;
  }

  .about-hero__stat-label {
    font-size: 13px;
  }

  .about-hero__stat-desc {
    font-size: 11px;
  }

  .about-steps__num {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .about-quote__carousel {
    min-height: 420px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .about-why__feature,
  .about-newsletter__btn,
  .about-story__tab,
  .about-steps__card {
    transition: none;
  }

  .about-why__feature:hover,
  .about-steps__card:hover {
    transform: none;
  }

  .about-newsletter__btn:hover {
    transform: none;
  }

  .about-quote__card {
    transition: opacity 0.3s ease;
    transform: none !important;
  }

  .about-quote__card--active {
    transform: none !important;
  }

  .about-quote__card--exit {
    transform: none !important;
  }
}
