/* Final layout layer for the About page. */

/* Match the responsive header behavior used on the home page. */
@media (min-width: 993px) and (max-width: 1500px) {
  .header-actions > .btn {
    display: none;
  }
}

@media (min-width: 1201px) and (max-width: 1500px) {
  .header-phone {
    width: 48px;
    min-width: 48px;
    padding-inline: 0;
    justify-content: center;
  }

  .header-phone .phone-text {
    display: none;
  }
}

@media (min-width: 993px) and (max-width: 1200px) {
  .header-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Keep the floating contact action outside the content column. */
@media (min-width: 993px) and (max-width: 1499px) {
  .desktop-whatsapp-float {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
  }

  .desktop-whatsapp-float__text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

.about-section-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--obrk-green-text);
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Compact proof band replacing the two repetitive introductory sections. */
.about-proof {
  position: relative;
  z-index: 3;
  padding: 0 0 3.75rem;
  background: var(--obrk-white);
}

.about-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  transform: translateY(-2rem);
  border: 1px solid var(--obrk-border-light);
  border-radius: 16px;
  background: var(--obrk-white);
  box-shadow: 0 22px 48px rgba(17, 17, 17, 0.12);
}

.about-proof-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: 1.5rem;
  border-right: 1px solid var(--obrk-border-light);
}

.about-proof-item:last-child {
  border-right: 0;
}

.about-proof-icon {
  display: inline-flex;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(116, 170, 31, 0.15);
  color: var(--obrk-green-text);
  font-size: 1.65rem;
}

.about-proof-item > div {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.about-proof-value,
.about-proof-label {
  display: block;
}

.about-proof-value {
  color: var(--obrk-green-text);
  font-family: var(--font-family-heading);
  font-size: 1.6rem;
  font-weight: var(--font-weight-black);
  line-height: 1.1;
}

.about-proof-value--text {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.about-proof-label {
  color: var(--obrk-text-secondary);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Story. */
.company-section {
  padding: 4.5rem 0 5rem;
}

.company-content {
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.company-text h2 {
  margin-bottom: 1rem;
}

.company-image {
  border: 1px solid var(--obrk-border-light);
}

/* Mission and vision. */
.mission-vision {
  padding: 5rem 0;
}

.mission-vision-heading {
  margin-bottom: 2.5rem;
}

.mission-vision-heading .about-section-kicker {
  margin-bottom: 0.75rem;
}

.mv-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 0;
}

.mv-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 1.25rem;
  row-gap: 0.75rem;
  padding: 2.5rem;
  text-align: left;
  border: 1px solid var(--obrk-border-light);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.08);
}

.mv-card:hover {
  transform: translateY(-4px);
}

.mv-icon,
.valor-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(116, 170, 31, 0.15);
  color: var(--obrk-green-text);
}

.mv-icon {
  grid-row: 1 / span 2;
  width: 64px;
  height: 64px;
  margin: 0;
  border-radius: 18px;
}

.mv-icon .material-symbols-outlined {
  font-size: 2rem;
}

.mv-card h3 {
  align-self: end;
  margin: 0;
  color: var(--obrk-black);
}

.mv-card p {
  grid-column: 2;
}

/* Values. */
.valores-section {
  padding: 5rem 0;
}

.valores-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.valor-card {
  padding: 2rem;
  text-align: left;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.05);
}

.valor-card:hover {
  transform: translateY(-4px);
}

.valor-icon {
  width: 52px;
  height: 52px;
  margin: 0 0 1.25rem;
  border-radius: 14px;
}

.valor-icon .material-symbols-outlined {
  font-size: 1.65rem;
}

.valor-card h3 {
  margin-bottom: 0.65rem;
}

/* Differentiators: always form a balanced grid. */
.diferenciadores-section {
  padding: 5rem 0;
}

.diferenciadores-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.diferenciador-card {
  padding: 2rem 1.5rem;
  border: 1px solid var(--obrk-border-light);
  border-radius: 14px;
  background: var(--obrk-white);
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.07);
  text-align: left;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.diferenciador-card:hover {
  transform: translateY(-4px);
  border-color: rgba(116, 170, 31, 0.5);
  box-shadow: 0 18px 34px rgba(116, 170, 31, 0.15);
}

.diferenciador-icon {
  display: flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.25rem;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    var(--obrk-green-primary),
    var(--obrk-green-secondary)
  );
  color: var(--obrk-white);
}

.diferenciador-icon .material-symbols-outlined {
  color: var(--obrk-white);
  font-size: 1.7rem;
}

.diferenciador-card h3 {
  margin-bottom: 0.65rem;
}

/* Single page-level conversion block. */
.about-final-cta {
  padding: 4.5rem 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(140, 198, 63, 0.3), transparent 35%),
    linear-gradient(135deg, #101510 0%, var(--obrk-black) 68%, #233516 100%);
}

.about-final-cta .cta-content {
  display: flex;
  max-width: none;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
}

.about-final-cta .cta-text {
  max-width: 650px;
}

.about-final-cta .cta-text p {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.78);
}

.about-final-cta .cta-buttons {
  display: flex;
  flex: 0 0 auto;
  gap: 0.75rem;
  margin: 0;
}

.about-final-cta .btn {
  min-width: 180px;
}

@media (max-width: 1199px) {
  .about-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-proof-item:nth-child(2) {
    border-right: 0;
  }

  .about-proof-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--obrk-border-light);
  }

  .diferenciadores-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .valores-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-final-cta .cta-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .about-proof {
    padding-bottom: 2.25rem;
  }

  .about-proof-grid {
    transform: translateY(-1.5rem);
    border-radius: 14px;
  }

  .about-proof-item {
    gap: 0.65rem;
    padding: 1rem;
  }

  .about-proof-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1.35rem;
  }

  .about-proof-value {
    font-size: 1.35rem;
  }

  .about-proof-value--text {
    font-size: 0.88rem;
  }

  .about-proof-label {
    font-size: 0.78rem;
  }

  .company-section,
  .mission-vision,
  .valores-section,
  .diferenciadores-section {
    padding: 3.75rem 0;
  }

  .company-content {
    gap: 2.5rem;
  }

  .company-image {
    order: 0;
  }

  .mission-vision-heading {
    margin-bottom: 2rem;
  }

  .mv-grid,
  .valores-grid,
  .diferenciadores-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }

  .mv-grid {
    margin-top: 0;
  }

  .mv-card,
  .valor-card,
  .diferenciador-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 0.9rem;
    row-gap: 0.75rem;
    padding: 1.5rem;
  }

  .mv-icon,
  .valor-icon,
  .diferenciador-icon {
    grid-column: 1;
    grid-row: 1;
    width: 48px;
    height: 48px;
    margin: 0;
    border-radius: 13px;
  }

  .mv-card h3,
  .valor-card h3,
  .diferenciador-card h3 {
    grid-column: 2;
    align-self: center;
    margin: 0;
  }

  .mv-card p,
  .valor-card p,
  .diferenciador-card p {
    grid-column: 1 / -1;
  }

  .about-final-cta {
    padding: 3.75rem 0;
  }

  .about-final-cta .cta-content {
    align-items: stretch;
  }

  .about-final-cta .cta-buttons {
    width: 100%;
    flex-direction: column;
  }

  .about-final-cta .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .about-proof-item {
    align-items: flex-start;
    padding: 0.9rem 0.75rem;
  }

  .about-proof-icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }
}
