/* ==========================================================================
   About Us: editorial proof page for Peru Summit Adventures
   ========================================================================== */

/* The page extends the established red, ink and warm-paper visual system. */
.about-page {
    overflow: clip;
    background-color: #ffffff;
}

/* The team image remains readable behind the shared cinematic hero treatment. */
.about-page .tour-category-hero-image {
    object-position: center 48%;
}

/* ==========================================================================
   Introduction
   ========================================================================== */

/* The opening statement balances a readable measure with one decisive image. */
.about-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(2.75rem, 7vw, 7rem);
    align-items: center;
}

.about-intro-copy {
    max-width: 670px;
}

/* The place-led image gives the operating story an immediate Peru context. */
.about-intro-media {
    position: relative;
    min-height: 610px;
    margin: 0;
    overflow: hidden;
    border-radius: 7px;
    background-color: #e9e7e2;
}

.about-intro-media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The caption presents the local-company proof without a decorative text rail. */
.about-intro-media figcaption {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    display: grid;
    gap: 0.3rem;
    max-width: 390px;
    padding: 1rem 1.15rem;
    border-radius: 7px;
    background-color: rgba(23, 23, 23, 0.9);
    color: #ffffff;
}

.about-intro-media figcaption span {
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.about-intro-media figcaption strong {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
    font-weight: 400;
    line-height: 1.5;
}

/* ==========================================================================
   Operating reasons
   ========================================================================== */

/* A quiet gray ground turns the four practical standards into one clear unit. */
.about-reasons {
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
    background-color: #f7f7f5;
}

.about-reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

/* Reason cards use a horizontal structure so copy remains the primary evidence. */
.about-reason-card {
    display: grid;
    min-height: 220px;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 1.25rem;
    align-content: start;
    padding: clamp(1.5rem, 3vw, 2.35rem);
    border-radius: 7px;
    background-color: #ffffff;
    box-shadow: 0 4px 18px rgba(17, 24, 39, 0.06);
    transition: box-shadow 280ms ease, transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-reason-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background-color: #f10100;
    color: #ffffff;
    font-size: 1.05rem;
}

.about-reason-card h3 {
    margin: 0;
    color: #171717;
    font-family: "Metromedium", "Roboto", sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 500;
    line-height: 1.2;
}

.about-reason-card p {
    margin: 0.75rem 0 0;
    color: #5d5d5d;
    font-size: 0.92rem;
    line-height: 1.7;
}

/* Fine-pointer interaction adds depth without changing the card silhouette. */
@media (hover: hover) and (pointer: fine) {
    .about-reason-card:hover {
        box-shadow: 0 16px 36px rgba(17, 24, 39, 0.12);
        transform: translateY(-5px);
    }
}

/* ==========================================================================
   Field standard
   ========================================================================== */

/* The field section pairs expedition-scale imagery with an operational ledger. */
.about-field-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(2.75rem, 7vw, 7rem);
    align-items: center;
}

.about-field-media {
    margin: 0;
}

.about-field-media img {
    display: block;
    width: 100%;
    min-height: 590px;
    border-radius: 7px;
    object-fit: cover;
}

.about-field-media figcaption {
    margin-top: 0.75rem;
    color: #818181;
    font-size: 0.8rem;
    line-height: 1.5;
}

.about-field-list {
    border-top: 1px solid #e8e8e4;
}

/* Each field standard is separated by rhythm and horizontal rules. */
.about-field-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid #e8e8e4;
}

.about-field-item > span {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background-color: #f7f7f5;
    color: #b90201;
    font-size: 0.8rem;
}

.about-field-item h3 {
    margin: 0;
    color: #171717;
    font-family: "Metromedium", "Roboto", sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.25;
}

.about-field-item p {
    margin: 0.4rem 0 0;
    color: #5d5d5d;
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ==========================================================================
   People and welfare
   ========================================================================== */

/* Ink creates a decisive setting for crew and animal-welfare commitments. */
.about-people {
    background-color: #171717;
    color: #ffffff;
}

.about-welfare-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: stretch;
}

.about-welfare-media {
    min-height: 560px;
    margin: 0;
    overflow: hidden;
    border-radius: 7px;
    background-color: #2a2a2a;
}

.about-welfare-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-welfare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

/* Practice cards remain quiet on dark surfaces and avoid excessive elevation. */
.about-people .about-practice-card {
    border-color: rgba(255, 255, 255, 0.14);
    background-color: rgba(255, 255, 255, 0.055);
}

.about-people .about-practice-card h3 {
    color: #ffffff;
}

.about-people .about-practice-card p {
    color: rgba(255, 255, 255, 0.68);
}

.about-people .about-practice-icon {
    background-color: #f10100;
    color: #ffffff;
}

/* ==========================================================================
   Food, culture and responsibility
   ========================================================================== */

.about-practices {
    background-color: #ffffff;
}

.about-practices-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

/* The same reusable practice card adapts from dark welfare to light editorial use. */
.about-practice-card {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    padding: clamp(1.45rem, 2.5vw, 2rem);
    border: 1px solid #e8e8e4;
    border-radius: 7px;
    background-color: #ffffff;
    transition: border-color 220ms ease, box-shadow 280ms ease, transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-practice-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background-color: #f7f7f5;
    color: #b90201;
}

.about-practice-card h3 {
    margin: 1.35rem 0 0;
    color: #171717;
    font-family: "Metromedium", "Roboto", sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.25;
}

.about-practice-card p {
    margin: 0.7rem 0 0;
    color: #5d5d5d;
    font-size: 0.9rem;
    line-height: 1.68;
}

/* Fine-pointer hover clarifies that cards are considered components. */
@media (hover: hover) and (pointer: fine) {
    .about-practices .about-practice-card:hover {
        border-color: #d2d2cc;
        box-shadow: 0 16px 36px rgba(17, 24, 39, 0.1);
        transform: translateY(-5px);
    }
}

/* ==========================================================================
   Local family company
   ========================================================================== */

/* Warm paper distinguishes the family story from operational proof. */
.about-local {
    background-color: #fffaf5;
}

.about-local-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: clamp(2.75rem, 8vw, 8rem);
    align-items: center;
}

.about-local-copy {
    max-width: 760px;
}

/* The motto uses a full warm surface rather than a left-side accent. */
.about-local-quote {
    padding: 1.35rem 1.5rem;
    margin: 2rem 0 0;
    border-radius: 7px;
    background-color: #ffffff;
}

.about-local-quote p {
    margin: 0;
    color: #171717;
    font-family: "Metromedium", "Roboto", sans-serif;
    font-size: clamp(1.35rem, 2.3vw, 2rem);
    font-weight: 500;
    line-height: 1.25;
}

.about-local-media {
    margin: 0;
}

.about-local-media img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 7px;
    object-fit: cover;
}

.about-local-media figcaption {
    margin-top: 0.75rem;
    color: #818181;
    font-size: 0.8rem;
}

/* ==========================================================================
   Licences
   ========================================================================== */

.about-licensed {
    background-color: #ffffff;
}

.about-licensed-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(2.75rem, 7vw, 7rem);
    align-items: start;
}

.about-licensed-copy {
    position: sticky;
    top: 90px;
}

.about-licensed-copy > p {
    max-width: 52ch;
    margin: -1.4rem 0 0;
    color: #5d5d5d;
    font-size: 0.94rem;
    line-height: 1.75;
}

.about-credentials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

/* Credential cards keep document preview and explanation in one proof unit. */
.about-credential-card {
    overflow: hidden;
    margin: 0;
    border-radius: 7px;
    background-color: #f7f7f5;
    box-shadow: 0 4px 18px rgba(17, 24, 39, 0.06);
    transition: box-shadow 280ms ease, transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-credential-card > a {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: 7px;
    background-color: #f7f7f5;
}

.about-credential-card img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 1rem;
    object-fit: contain;
    transition: transform 340ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-credential-card figcaption {
    display: grid;
    gap: 0.35rem;
    padding: 1.2rem;
    background-color: #ffffff;
}

.about-credential-card strong {
    color: #171717;
    font-family: "Metromedium", "Roboto", sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.3;
}

.about-credential-card span {
    color: #5d5d5d;
    font-size: 0.82rem;
    line-height: 1.55;
}

/* Document links lift just enough to reveal their interactivity. */
@media (hover: hover) and (pointer: fine) {
    .about-credential-card:hover {
        box-shadow: 0 16px 36px rgba(17, 24, 39, 0.12);
        transform: translateY(-5px);
    }

    .about-credential-card:hover img {
        transform: scale(1.025);
    }
}

/* ==========================================================================
   Reviews and recognition
   ========================================================================== */

/* The closing proof section uses ink so recognition feels distinct from licences. */
.about-page #reviews.about-reviews {
    background-color: #171717;
    color: #ffffff;
}

.about-reviews-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}

.about-review-link {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 7px;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 900;
    text-decoration: none;
    transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.about-review-link:hover,
.about-review-link:focus-visible {
    border-color: #f10100;
    background-color: #f10100;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Shared Tripadvisor components are recolored for the dark closing surface. */
.about-reviews .welcome-awards-grid {
    border-color: rgba(255, 255, 255, 0.16);
}

.about-reviews .welcome-award {
    color: #ffffff;
}

/* White image plates keep every Tripadvisor badge legible, including dark marks. */
.about-reviews .welcome-award img {
    padding: 0.7rem;
    border-radius: 7px;
    background-color: #ffffff;
}

.about-reviews .welcome-award:hover {
    background-color: rgba(255, 255, 255, 0.06);
}

.about-reviews .welcome-award span {
    color: rgba(255, 255, 255, 0.62);
}

/* ==========================================================================
   Responsive layouts
   ========================================================================== */

@media (max-width: 1199.98px) {
    /* Medium desktop reduces the welfare cards before the overall layout stacks. */
    .about-welfare-layout {
        grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    }
}

@media (max-width: 991.98px) {
    /* Tablet layouts turn long editorial pairings into one readable column. */
    .about-intro-grid,
    .about-field-grid,
    .about-welfare-layout,
    .about-local-grid,
    .about-licensed-layout,
    .about-reviews-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-intro-copy,
    .about-field-copy,
    .about-local-copy,
    .about-licensed-copy,
    .about-reviews-copy {
        max-width: 760px;
    }

    .about-field-media {
        order: 2;
    }

    .about-welfare-media {
        min-height: 430px;
    }

    .about-local-media {
        max-width: 680px;
    }

    .about-licensed-copy {
        position: static;
    }
}

@media (max-width: 767.98px) {
    /* Mobile uses single-column proof and practice cards with comfortable tap space. */
    .about-reasons-grid,
    .about-welfare-grid,
    .about-practices-grid,
    .about-credentials-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-intro-media {
        min-height: 470px;
    }

    .about-reason-card,
    .about-practice-card {
        min-height: 0;
    }

    .about-field-media img {
        min-height: 360px;
    }

    .about-welfare-media {
        min-height: 360px;
    }
}

@media (max-width: 479.98px) {
    /* Narrow phones stack the icon above copy when horizontal space is constrained. */
    .about-reason-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-intro-media {
        min-height: 420px;
    }
}

@media (prefers-reduced-motion: reduce) {
    /* Reduced-motion visitors receive immediate card and image states. */
    .about-reason-card,
    .about-practice-card,
    .about-credential-card,
    .about-credential-card img,
    .about-review-link {
        transition: none;
    }
}
