/* -------------------------------------------------------------------------- */
/* About Us — Figma “about us” (node 393:519)                                 */
/* -------------------------------------------------------------------------- */

.about-page--figma {
  overflow-x: hidden;
  background: #fff;
}

.about-page--figma .figma-container {
  padding-left: 20px;
  padding-right: 20px;
}

/* ----- Hero (rounded plate + photo + gradient) ----- */
.about-figma-hero {
  padding: var(--page-hero-gutter) 0 0;
}

.about-figma-hero__plate {
  position: relative;
  max-width: 1420px;
  margin: 0 auto;
  min-height: min(550px, 85vh);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.11);
}

.about-figma-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("/images/figma-about/Rectangle%204%20(1).png");
  background-size: cover;
  background-position: center center;
  pointer-events: none;
}

.about-figma-hero__gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    60.85deg,
    rgba(255, 255, 255, 0.99) 43.71%,
    rgba(255, 255, 255, 0) 75.92%
  );
}

.about-figma-hero .figma-container.about-figma-hero__inner {
  margin-left: 0;
  margin-right: 0;
  position: relative;
  z-index: 1;
  padding-top: var(--hero-plate-inner-pt);
  padding-bottom: var(--hero-plate-inner-pb);
  padding-inline: var(--figma-inline);
  max-width: 720px;
}

.about-figma-hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-sans);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #231f1e;
}

.about-figma-hero__title-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--color-red);
}

.about-figma-hero__lead {
  margin: 0;
  max-width: 630px;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(35, 31, 30, 0.7);
}

/* ----- Who we are ----- */
.about-figma-who {
  padding: var(--section-y-lg) 0;
}

.about-figma-who__grid .about-figma-who__story {
  max-width: 39.375rem;
}

.about-figma-who__grid {
  display: grid;
  grid-template-columns: minmax(0, 630px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.about-figma-who__media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(35, 31, 30, 0.12);
}

.about-figma-who__media img {
  display: block;
  width: 100%;
  height: auto;
}

.about-figma-who__title {
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
  color: #231f1e;
}

.about-figma-who__title-w {
  font-family: var(--font-sans);
  font-weight: 500;
}

.about-figma-who__title-a {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: #C9222F;
}

.about-figma-who__p {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(35, 31, 30, 0.7);
}

.about-figma-who__tagline {
  margin: 1.75rem 0 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.45;
  color: #231f1e;
}

/* ----- Why Practices Choose Us ----- */
.about-figma-why {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem);
}

.about-figma-why__heading {
  margin: 0 0 2.5rem;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  font-weight: 500;
}

.about-figma-why__heading-w {
  font-family: var(--font-sans);
  font-weight: 500;
  color: #231f1e;
}

.about-figma-why__heading-a {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--color-red);
}

.about-figma-why__bullets {
  margin: -1.75rem auto 2rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: center;
  max-width: 72rem;
}

.about-figma-why__bullets li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 20px;
  color: rgba(35, 31, 30, 0.78);
}

.about-figma-why__bullets li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #C9222F;
  flex-shrink: 0;
}

.about-figma-why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.about-figma-why--cards .about-figma-why__grid {
  grid-template-columns: repeat(4, minmax(0, 305px));
  gap: 20px;
  justify-content: center;
}

.about-figma-why-card {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  padding: 1.25rem 1.1rem 1.5rem;
  min-height: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Figma node 486:724 — four feature cards */
.about-figma-why--cards .about-figma-why-card {
  width: 100%;
  max-width: 305px;
  min-height: 456px;
  padding: 20px 17px 24px;
  margin-inline: auto;
}

.about-figma-why-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.65rem;
  border-radius: 10px;
  background: rgba(201, 34, 47, 0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-figma-why--cards .about-figma-why-card__icon,
.about-figma-why--cards .about-figma-why-card__icon--full {
  margin-bottom: 30px;
}

.about-figma-why-card__icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.about-figma-why-card--large-icon .about-figma-why-card__icon {
  width: 46px;
  height: 46px;
}

.about-figma-why-card--large-icon .about-figma-why-card__icon img {
  width: 46px;
  height: 46px;
}

.about-figma-why-card__icon--full {
  background: transparent;
  padding: 0;
}

.about-figma-why-card__icon--full img {
  width: 44px;
  height: 44px;
}

.about-figma-why-card__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-sans);
  font-size: clamp(1.0625rem, 1.35vw, 1.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: #231f1e;
}

.about-figma-why--cards .about-figma-why-card__title {
  font-size: 24px;
  line-height: 27px;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}

.about-figma-why-card__title--caps {
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(0.9375rem, 1.2vw, 1.25rem);
  line-height: 1.25;
}

.about-figma-why-card__title-line {
  display: block;
}

.about-figma-why--cards .about-figma-why-card__title-line {
  line-height: 27px;
}

.about-figma-why-card__body {
  margin: 0;
  flex: 1;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.35;
  color: rgba(35, 31, 30, 0.5);
}

.about-figma-why--cards .about-figma-why-card__body {
  font-size: 14px;
  line-height: 18px;
  overflow-wrap: break-word;
}

.about-figma-why__kicker {
  margin: clamp(2rem, 4vw, 2.75rem) auto 0;
  max-width: 52rem;
  padding: 1.5rem 1.5rem 1.65rem;
  text-align: center;
  border: 1px solid #e8e4e5;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffefb 0%, #faf8f9 100%);
}

.about-figma-why__kicker-lead {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.3;
  color: var(--color-red);
}

.about-figma-why__kicker-text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(35, 31, 30, 0.72);
}

.about-figma-why--prose .about-figma-why__story {
  max-width: 42rem;
  margin: 0 auto;
}

.about-figma-why--prose .about-figma-why__p {
  margin: 0 0 1.15rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(35, 31, 30, 0.72);
}

.about-figma-why--prose .about-figma-why__p:last-child {
  margin-bottom: 0;
}

.about-figma-why--prose .about-figma-why__p strong {
  font-weight: 600;
  color: #231f1e;
}

/* ----- Compact design ----- */
.about-figma-compact {
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.about-figma-compact__grid {
  display: grid;
  grid-template-columns: minmax(0, 630px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.about-figma-compact__media {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(35, 31, 30, 0.1);
}

.about-figma-compact__media img {
  display: block;
  width: 100%;
  height: auto;
}

.about-figma-compact__title {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  font-weight: 500;
  color: #231f1e;
}

.about-figma-compact__title-line {
  font-family: var(--font-sans);
  font-weight: 500;
}

.about-figma-compact__title-sep {
  margin: 0 0.15em;
  font-weight: 400;
  color: rgba(35, 31, 30, 0.35);
}

.about-figma-compact__title-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--color-red);
}

.about-figma-compact__lead {
  margin: 0 0 1.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(35, 31, 30, 0.7);
}

.about-figma-compact__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-figma-compact__list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(35, 31, 30, 0.7);
}

.about-figma-compact__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-red);
}

@media (max-width: 900px) {
  .about-figma-compact__list li::before {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 767px) {
  .about-figma-compact__list li::before {
    width: 8px;
    height: 8px;
  }
}

.about-figma-compact__list li:last-child {
  margin-bottom: 0;
}

.about-figma-compact__list strong {
  font-weight: 600;
  color: #231f1e;
}

.about-figma-compact__foot {
  margin: 1.35rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.5;
  font-style: italic;
  color: rgba(35, 31, 30, 0.6);
}

.about-figma-cta {
  padding-bottom: var(--section-y-lg);
}

.about-figma-cta .figma-cta__box {
  background: #fcf4f5;
}

.about-figma-cta .figma-cta__p--about-italic {
  font-style: italic;
  font-weight: 400;
}

.about-figma-cta__actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
}

.about-page--figma .figma-btn--solid {
  background-color: rgba(160, 29, 40, 1);
  border-color: rgba(160, 29, 40, 1);
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                */
/* -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .about-figma-why--cards .about-figma-why__grid {
    grid-template-columns: repeat(2, minmax(0, 305px));
    justify-content: center;
  }
}

@media (max-width: 1000px) {
  .about-figma-who__grid {
    grid-template-columns: 1fr;
  }

  .about-figma-who__media {
    max-width: 36rem;
    margin: 0 auto;
    width: 100%;
  }

  .about-figma-compact__grid {
    grid-template-columns: 1fr;
  }

  .about-figma-compact__media {
    max-width: 36rem;
    margin: 0 auto;
    order: -1;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .about-figma-why--cards .about-figma-why-card {
    min-height: 0;
  }

  .about-figma-why--cards .about-figma-why__grid {
    grid-template-columns: 1fr;
  }

  .about-figma-hero__plate {
    min-height: 420px;
  }

  .about-figma-hero__bg {
    background-position: center center;
  }

  .about-figma-hero__gradient {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.85) 55%,
      rgba(255, 255, 255, 0.65) 100%
    );
  }

  .about-figma-hero .figma-container.about-figma-hero__inner {
    padding-top: 2.5rem;
  }

  .figma-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .figma-btn--solid,
  .figma-btn--outline-dark,
  .figma-cta__talk {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .about-figma-hero {
    padding-left: 0;
    padding-right: 0;
  }

  .about-figma-hero__plate {
    border-radius: 12px;
    margin: 0 4px;
  }
}
