/* ==================================================
   NOSOTROS · MALAK
   Estilos exclusivos de nosotros.html.
   No modifica los estilos existentes del sitio.
================================================== */

.main-nav .nav-link[aria-current="page"]::after {
    width: 100%;
}

.about-eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    font-family: "Archivo", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.about-eyebrow.light {
    color: var(--gold);
}


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

.about-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 32px 118px;
    background: var(--cream-light);
}

.about-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -220px;
    top: 70px;
    border: 1px solid rgba(30, 74, 59, 0.08);
    border-radius: 50%;
}

.about-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
    align-items: center;
    gap: 82px;
}

.about-hero-copy h1 {
    max-width: 720px;
    margin-bottom: 28px;
    font-family: "Archivo", sans-serif;
    font-size: clamp(52px, 6vw, 82px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: var(--green);
}

.about-hero-copy > p {
    max-width: 650px;
    margin-bottom: 38px;
    font-size: 17px;
    line-height: 1.85;
    color: rgba(43, 43, 38, 0.72);
}

.about-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.about-text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--gold);
    font-family: "Archivo", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
}

.about-text-link span {
    font-size: 17px;
    transition: transform 0.2s ease;
}

.about-text-link:hover span {
    transform: translateX(5px);
}

.about-hero-visual {
    position: relative;
    min-height: 560px;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    grid-template-rows: 1fr 0.72fr;
    gap: 16px;
}

.about-year-card {
    position: relative;
    overflow: hidden;
    padding: 40px 34px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.about-year-card > span {
    margin-bottom: 12px;
    font-family: "Archivo", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-year-card strong {
    display: block;
    margin-bottom: 18px;
    font-family: "Archivo", sans-serif;
    font-size: clamp(56px, 7vw, 96px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.06em;
}

.about-year-card p {
    max-width: 320px;
    font-size: 13px;
    line-height: 1.75;
}

.about-year-card-main {
    grid-row: 1 / -1;
    color: var(--white);
    background: var(--green);
}

.about-year-card-main::before,
.about-year-card-main::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.about-year-card-main::before {
    width: 330px;
    height: 330px;
    top: -130px;
    right: -130px;
}

.about-year-card-main::after {
    width: 220px;
    height: 220px;
    top: -72px;
    right: -70px;
}

.about-year-card-main > * {
    position: relative;
    z-index: 1;
}

.about-year-card-main > span,
.about-year-card-main strong {
    color: var(--white);
}

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

.about-year-card-secondary {
    color: var(--green);
    background: var(--gold);
}

.about-year-card-secondary > span {
    color: rgba(30, 74, 59, 0.7);
}

.about-year-card-secondary strong {
    font-size: clamp(42px, 5vw, 68px);
    color: var(--green);
}

.about-year-card-secondary p {
    color: rgba(30, 74, 59, 0.78);
}

.about-hero-badge {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--green);
    background: #e9e4d7;
}

.about-hero-badge strong {
    font-family: "Archivo", sans-serif;
    font-size: 58px;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.05em;
}

.about-hero-badge span {
    margin-top: 9px;
    font-family: "Archivo", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}


/* =========================
   HISTORIA
========================= */

.about-story {
    padding: 82px 32px;
    background: #ffffff;
}

.about-section-heading {
    max-width: 1180px;
    margin: 0 auto 42px;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: end;
    gap: 56px;
}

.about-section-heading h2 {
    grid-column: 1;
    max-width: 720px;
    font-family: "Archivo", sans-serif;
    font-size: clamp(36px, 4.3vw, 54px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.045em;
    color: var(--green);
}

.about-section-heading .about-eyebrow {
    grid-column: 1;
    margin-bottom: -58px;
    align-self: start;
}

.about-section-heading > p {
    grid-column: 2;
    grid-row: 1 / 3;
    max-width: 480px;
    justify-self: end;
    padding-bottom: 6px;
    font-size: 16px;
    line-height: 1.85;
    color: rgba(43, 43, 38, 0.68);
}

.about-timeline {
    max-width: 1180px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
}

.about-timeline-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 38px;
    padding: 27px 0;
    border-bottom: 1px solid var(--line);
}

.about-timeline-year {
    font-family: "Archivo", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--gold);
}

.about-timeline-item h3 {
    margin-bottom: 8px;
    font-family: "Archivo", sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--green);
}

.about-timeline-item p {
    max-width: 730px;
    font-size: 14px;
    line-height: 1.72;
    color: rgba(43, 43, 38, 0.68);
}


/* =========================
   VALORES
========================= */

.about-values {
    padding: 118px 32px;
    color: var(--white);
    background: var(--green-dark);
}

.about-values-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.about-values-heading {
    max-width: 840px;
    margin-bottom: 60px;
}

.about-values-heading h2 {
    font-family: "Archivo", sans-serif;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.045em;
    color: var(--white);
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.about-value-card {
    min-height: 300px;
    padding: 36px 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-value-card:last-child {
    border-right: 0;
}

.about-value-card > span {
    margin-bottom: 34px;
    font-family: "Archivo", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--gold);
}

.about-value-card h3 {
    margin-bottom: 15px;
    font-family: "Archivo", sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
}

.about-value-card p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.62);
}


/* =========================
   PRESENCIA
========================= */

.about-presence {
    padding: 120px 32px;
    background: var(--cream-light);
}

.about-presence-heading {
    max-width: 1180px;
    margin: 0 auto 62px;
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    align-items: end;
    gap: 80px;
}

.about-presence-heading h2 {
    max-width: 760px;
    font-family: "Archivo", sans-serif;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.045em;
    color: var(--green);
}

.about-presence-heading > p {
    padding-bottom: 6px;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(43, 43, 38, 0.68);
}

.about-location-list {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-location-card {
    min-width: 0;
    background: #ffffff;
    border: 1px solid var(--line);
}

.about-location-row {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
    min-height: 510px;
}

.about-location-row-reverse {
    grid-template-columns: minmax(330px, 0.65fr) minmax(0, 1.35fr);
}

.about-location-row-reverse .about-location-gallery {
    grid-column: 2;
    grid-row: 1;
}

.about-location-row-reverse .about-location-copy {
    grid-column: 1;
    grid-row: 1;
}

.about-location-gallery {
    position: relative;
    min-width: 0;
    padding: 16px;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(160px, 0.55fr);
    gap: 12px;
    overflow: hidden;
    background: #e9e4d7;
}

.about-location-photo {
    min-width: 0;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    background: #ddd7c8;
}

.about-location-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

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

.about-location-number {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 2;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-family: "Archivo", sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--white);
    background: rgba(18, 40, 31, 0.78);
    backdrop-filter: blur(6px);
}

.about-location-copy {
    padding: 52px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-location-copy > span {
    display: block;
    margin-bottom: 15px;
    font-family: "Archivo", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}

.about-location-copy h3 {
    margin-bottom: 24px;
    font-family: "Archivo", sans-serif;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--green);
}

.about-location-copy p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(43, 43, 38, 0.68);
}

.about-location-address {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
    font-family: "Archivo", sans-serif;
    font-size: 15px !important;
    font-weight: 700;
    line-height: 1.65 !important;
    color: var(--green) !important;
}

@media (max-width: 900px) {
    .about-presence-heading {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-location-row,
    .about-location-row-reverse {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .about-location-row-reverse .about-location-gallery,
    .about-location-row-reverse .about-location-copy {
        grid-column: auto;
        grid-row: auto;
    }

    .about-location-gallery {
        min-height: 470px;
    }

    .about-location-copy {
        padding: 40px 34px 44px;
    }
}

@media (max-width: 700px) {
    .about-presence {
        padding: 78px 18px;
    }

    .about-presence-heading {
        margin-bottom: 42px;
    }

    .about-presence-heading h2 {
        font-size: 38px;
    }

    .about-location-list {
        gap: 20px;
    }

    .about-location-gallery {
        min-height: 0;
        padding: 10px;
        grid-template-columns: 1fr;
        grid-template-rows: 310px 210px;
        gap: 10px;
    }

    .about-location-number {
        top: 22px;
        left: 22px;
    }

    .about-location-copy {
        padding: 30px 22px 34px;
    }

    .about-location-copy h3 {
        font-size: 34px;
    }

    .about-location-address {
        font-size: 14px !important;
    }

    .about-location-card:hover .about-location-photo img {
        transform: none;
    }
}


/* =========================
   FORMA DE TRABAJAR
========================= */

.about-method {
    padding: 120px 32px;
    background: #ffffff;
}

.about-method-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 100px;
    align-items: start;
}

.about-method-copy {
    position: sticky;
    top: 130px;
}

.about-method-copy h2 {
    margin-bottom: 24px;
    font-family: "Archivo", sans-serif;
    font-size: clamp(38px, 4.5vw, 58px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.045em;
    color: var(--green);
}

.about-method-copy > p {
    margin-bottom: 34px;
    font-size: 15px;
    line-height: 1.85;
    color: rgba(43, 43, 38, 0.68);
}

.about-method-steps {
    border-top: 1px solid var(--line);
}

.about-method-step {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 28px;
    padding: 34px 0;
    border-bottom: 1px solid var(--line);
}

.about-method-step > span {
    font-family: "Archivo", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--gold);
}

.about-method-step h3 {
    margin-bottom: 10px;
    font-family: "Archivo", sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--green);
}

.about-method-step p {
    max-width: 570px;
    font-size: 14px;
    line-height: 1.78;
    color: rgba(43, 43, 38, 0.65);
}


/* =========================
   CTA FINAL
========================= */

.about-final-cta {
    padding: 88px 32px;
    background: var(--green);
}

.about-final-cta-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 70px;
}

.about-final-cta h2 {
    max-width: 800px;
    font-family: "Archivo", sans-serif;
    font-size: clamp(36px, 4.5vw, 58px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.045em;
    color: var(--white);
}

.about-final-button {
    min-height: 52px;
    padding: 14px 0;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--gold);
    font-family: "Archivo", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--white);
}

.about-final-button span {
    font-size: 19px;
    transition: transform 0.2s ease;
}

.about-final-button:hover span {
    transform: translateX(6px);
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .about-hero-inner,
    .about-section-heading,
    .about-presence-heading,
    .about-method-inner {
        grid-template-columns: 1fr;
    }

    .about-hero-inner {
        gap: 54px;
    }

    .about-hero-visual {
        min-height: 500px;
    }

    .about-section-heading {
        gap: 22px;
    }

    .about-section-heading .about-eyebrow {
        margin-bottom: 0;
    }

    .about-section-heading h2,
    .about-section-heading > p {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
    }

    .about-value-card {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .about-value-card:last-child {
        border-bottom: 0;
    }

    .about-presence-heading {
        gap: 24px;
    }

    .about-location-grid {
        grid-template-columns: 1fr;
    }

    .about-method-inner {
        gap: 54px;
    }

    .about-method-copy {
        position: static;
        max-width: 760px;
    }

    .about-final-cta-inner {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 28px;
    }

    .about-final-button {
        width: fit-content;
    }
}


/* =========================
   CELULARES
========================= */

@media (max-width: 700px) {

    .about-hero,
    .about-story,
    .about-values,
    .about-presence,
    .about-method {
        padding-left: 18px;
        padding-right: 18px;
    }

    .about-hero {
        padding-top: 70px;
        padding-bottom: 78px;
    }

    .about-hero-copy h1 {
        font-size: 43px;
    }

    .about-hero-copy > p {
        font-size: 15px;
    }

    .about-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .about-hero-actions .btn {
        width: 100%;
    }

    .about-text-link {
        width: fit-content;
    }

    .about-hero-visual {
        min-height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 12px;
    }

    .about-year-card-main {
        grid-row: auto;
        min-height: 410px;
    }

    .about-year-card-secondary,
    .about-hero-badge {
        min-height: 190px;
    }

    .about-story,
    .about-values,
    .about-presence,
    .about-method {
        padding-top: 78px;
        padding-bottom: 78px;
    }

    .about-section-heading {
        margin-bottom: 46px;
    }

    .about-section-heading h2,
    .about-values-heading h2,
    .about-presence-heading h2,
    .about-method-copy h2 {
        font-size: 38px;
    }

    .about-timeline-item {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 30px 0;
    }

    .about-value-card {
        padding: 30px 4px;
    }

    .about-location-visual {
        min-height: 330px;
        padding: 24px;
    }

    .about-location-number {
        top: 22px;
        left: 22px;
    }

    .about-location-mark strong {
        font-size: 36px;
    }

    .about-location-copy {
        padding: 26px 22px 30px;
    }

    .about-photo-note {
        font-size: 10px;
    }

    .about-method-step {
        grid-template-columns: 42px 1fr;
        gap: 18px;
        padding: 28px 0;
    }

    .about-final-cta {
        padding: 70px 18px;
    }

    .about-final-cta h2 {
        font-size: 38px;
    }

    .about-final-button {
        width: 100%;
        justify-content: space-between;
    }
}


/* =========================
   REDUCIR MOVIMIENTO
========================= */

@media (prefers-reduced-motion: reduce) {

    .about-text-link span,
    .about-final-button span {
        transition: none;
    }
}

/* =========================
   FOOTER · MISMO SISTEMA DE
   LAS PÁGINAS INTERNAS MALAK
========================= */

.about-footer {
    padding: 48px 32px;
    background: #0d1d17;
    color: var(--white);
}

.about-footer-inner {
    width: min(100%, 1180px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.about-footer-logo {
    display: block;
    width: 180px;
    height: auto;
}

.about-footer p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
}

.about-footer a {
    font-family: "Archivo", sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #d8d39e;
    white-space: nowrap;
}

.about-footer a:hover {
    color: var(--white);
}

@media (max-width: 820px) {
    .about-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .about-footer {
        padding: 42px 18px;
    }

    .about-footer-logo {
        width: 180px;
    }
}

/* =========================
   REDES SOCIALES
========================= */

.about-final-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
}

.about-socials {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.about-socials > span {
    font-family: "Archivo", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
}

.about-social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 16px;
}

.about-social-links a {
    position: relative;
    padding-bottom: 3px;
    font-family: "Archivo", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.about-social-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.2s ease;
}

.about-social-links a:hover {
    color: var(--white);
}

.about-social-links a:hover::after {
    width: 100%;
}

@media (max-width: 900px) {
    .about-final-actions {
        align-items: flex-start;
    }

    .about-socials {
        align-items: flex-start;
    }

    .about-social-links {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .about-social-links {
        gap: 10px 18px;
    }
}

/* ==================================================
   AJUSTE · HISTORIA MÁS COMPACTA
================================================== */

@media (max-width: 700px) {
    .about-story {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .about-section-heading {
        margin-bottom: 30px;
        gap: 14px;
    }

    .about-section-heading h2 {
        font-size: 34px;
    }

    .about-section-heading > p {
        font-size: 14px;
        line-height: 1.7;
    }

    .about-timeline-item {
        gap: 8px;
        padding: 22px 0;
    }

    .about-timeline-item h3 {
        margin-bottom: 6px;
        font-size: 22px;
    }

    .about-timeline-item p {
        font-size: 13.5px;
        line-height: 1.7;
    }
}
