/* ==========================
   N O S O T R O S  –  LAYOUT
   ========================== */

.about-page {
    padding: 60px 0 90px;
    background: #f4f5f7; /* fondo claro tipo contacto */
    color: #111827;      /* texto principal oscuro */
}

.about-page * {
    box-sizing: border-box;
}

/* Contenedor general (aprovecha el .w-container existente si quieres) */
.about-page .w-container,
.about-page .container-3 {
    max-width: 1160px;
}

/* ========== HERO ========== */

.about-hero {
    max-width: 1160px;
    margin: 0 auto 72px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.about-hero__content h1 {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #111827; /* título fuerte */
}

.about-hero__content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563; /* gris texto */
    margin-bottom: 24px;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.04);
    border: 1px solid rgba(17, 24, 39, 0.08);
    font-size: 0.83rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f59e0b; /* amarillo suave */
    margin-bottom: 14px;
}

.about-hero__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.highlight-item {
    padding: 10px 14px;
    border-radius: 12px;
    background: #ffffff;          /* tarjeta blanca */
    border: 1px solid #e5e7eb;    /* borde gris claro */
    min-width: 120px;
}

.highlight-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #111827;
}

.highlight-label {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
}

/* Imágenes laterales del hero */

.about-hero__images {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-card-image {
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;          /* marco blanco */
    min-height: 140px;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.06);
}

.about-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== SECCIONES GENERALES ========== */

.about-section {
    max-width: 1160px;
    margin: 0 auto 64px;
    padding: 0 16px;
}

.about-section__header {
    text-align: center;
    margin-bottom: 32px;
}

.about-section__header h2 {
    font-size: 2rem;
    margin-bottom: 6px;
    color: #111827;
}

.about-section__header p {
    color: #6b7280;
}

/* Sección split (texto + imagen lateral) */

.about-section--split {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.about-section--split.reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
}

.about-section--split.reverse .about-section__content {
    order: 1;
}

.about-section--split.reverse .about-section__image {
    order: 2;
}

.about-section__content h2 {
    font-size: 1.9rem;
    margin-bottom: 12px;
    color: #111827;
}

.about-section__content p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 12px;
}

.about-section__image {
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    min-height: 220px;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.06);
}

.about-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Grid misión / visión */

.about-section--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.about-card {
    padding: 22px 20px;
    border-radius: 18px;
    background: #ffffff;          /* tarjeta blanca */
    border: 1px solid #e5e7eb;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.05);
}

.about-card__header {
    margin-bottom: 10px;
}

.about-card__tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    margin-bottom: 8px;
}

.about-card__tag--alt {
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
}

.about-card h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: #111827;
}

.about-card p {
    color: #4b5563;
    line-height: 1.7;
}

/* Valores */

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.value-item {
    padding: 18px 18px 20px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
}

.value-item h3 {
    margin-bottom: 8px;
    font-size: 1rem;
    color: #111827;
}

.value-item p {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
}

/* Por qué elegirnos */

.why-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 20px;
}

.why-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: #4b5563;
    font-size: 0.95rem;
}

.why-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b; /* indicador amarillo */
}

.about-cta {
    display: inline-block;
    margin-top: 8px;
}

/* ========== EFECTO IMAGEN EN PLOMO → COLOR ========== */

.card-hover img {
    filter: grayscale(100%);
    transform: scale(1.02);
    transition:
        filter 0.5s ease,
        transform 0.5s ease,
        box-shadow 0.4s ease;
}

.card-hover:hover img {
    filter: grayscale(0%);
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.18);
}

/* ========== ANIMACIÓN SCROLL (JS) ========== */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 992px) {
    .about-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-hero__images {
        max-width: 420px;
        margin: 0 auto;
    }

    .about-section--split,
    .about-section--split.reverse {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-section--split.reverse .about-section__content,
    .about-section--split.reverse .about-section__image {
        order: initial;
    }

    .about-section--grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .about-page {
        padding: 40px 0 70px;
    }

    .about-hero__content h1 {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .highlight-item {
        flex: 1 1 calc(50% - 12px);
    }
}
.btn-primary.about-cta.about-cta--large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid #f2d42b;
  background: linear-gradient(135deg, #f2d42b, #d1b017);
  color: #050505;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .35);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease,
    color .18s ease;
}

.btn-primary.about-cta.about-cta--large:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .45);
  background: linear-gradient(135deg, #ffd84a, #f2d42b);
}

.about-cta__icon {
  font-size: 1.1rem;
  line-height: 1;
}
