/* ========================================
   VTX Global Footer System

   Scope:
   - Global Footer brand identity
   - Company identity
   - Footer navigation
   - Business conversation paths
   - Social presence
   - Legal closure

   Architecture:
   - Blocksy controls footer rows, columns,
     alignment and structural spacing
   - This file controls VTX-specific
     footer typography and components

   Depends on:
   - vtx-tokens.css
======================================== */


/* ========================================
   01. Brand Identity
======================================== */

.vtx-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}


.vtx-footer-logo {
    margin-block: 0 !important;
}


.vtx-footer-logo img {
    display: block;
    width: min(280px, 100%);
    height: auto;
}


.vtx-footer-positioning {
    margin-block: 0 !important;

    color: var(--vtx-text-light);

    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;

    letter-spacing: 0.055em;
    text-transform: uppercase;
}


/* ========================================
   02. Company Identity
======================================== */

.vtx-footer-company {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 8px;
}


.vtx-footer-company-name {
    margin: 0 !important;

    color: var(--vtx-white);

    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}


.vtx-footer-address {
    margin: 0 !important;

    max-width: 520px;

    color: var(--vtx-text-light);

    font-size: 16px;
    line-height: 1.65;
}


/* =========================================================
   VTX Global Footer — Middle Row
   ========================================================= */

/* Base column */
.vtx-footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

/* Column title */
.vtx-footer-nav__title {
    margin: 0 !important;
    color: var(--vtx-white);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Linked column titles */
.vtx-footer-nav__title a {
    color: inherit;
    text-decoration: none;
}

.vtx-footer-nav__title a:hover {
    color: var(--vtx-yellow-hover);
}

/* Navigation links */
.vtx-footer-nav__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.vtx-footer-nav__links p {
    margin: 0 !important;
}

.vtx-footer-nav__links a {
    color: var(--vtx-text-light);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    transition:
        color 200ms ease,
        opacity 200ms ease;
}

/* Footer link interaction */
.vtx-footer-nav__links a:hover,
.vtx-footer-nav__title a:hover {
    color: var(--vtx-yellow-hover);
}

/* Contact cluster: right-positioned, internally left-aligned */
.vtx-footer-contact {
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    align-items: flex-start;
    text-align: left;
}

.vtx-footer-contact__details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin: 0 !important;
    text-align: left;
}

.vtx-footer-contact__details p {
    margin: 0 !important;
}

.vtx-footer-contact__details a,
.vtx-footer-contact__whatsapp {
    color: var(--vtx-text-light);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
}

.vtx-footer-contact__details a:hover {
    color: var(--vtx-yellow-hover);
}

/* Primary inquiry text link */
.vtx-footer-contact__inquiry a {
    color: var(--vtx-white);
    font-weight: 500;
}

.vtx-footer-contact__inquiry a:hover {
    color: var(--vtx-yellow-hover);
}



/* =========================================================
   Footer Social Links
   ========================================================= */

.vtx-footer-socials {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 24px;

    margin: 4px 0 0 !important;
}

.vtx-footer-socials > * {
    margin: 0 !important;
}

.vtx-footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    color: var(--vtx-white);

    line-height: 1;
    text-decoration: none;

    transition: color 200ms ease;
}

.vtx-footer-social-link:first-child {
    margin-left: -7px;
}

.vtx-footer-social-link:hover {
    color: var(--vtx-yellow-hover);
}

.vtx-footer-social-link svg {
    display: block;

    width: auto;
    height: 30px;
    max-width: 32px;

    fill: currentColor;
}

/* ========================================
   04. Responsive
======================================== */

/* Tablet */
@media (max-width: 999px) {

    .vtx-footer-logo img {
        width: min(250px, 100%);
    }

    .vtx-footer-contact {
        width: 100%;
        margin-left: 0;
    }

}


/* Mobile */
@media (max-width: 767px) {

    .vtx-footer-logo img {
        width: min(210px, 100%);
    }

    .vtx-footer-company {
        width: 100%;
    }

    .vtx-footer-address {
        max-width: 100%;
    }

    .vtx-footer-contact {
        width: 100%;
        margin-left: 0;
    }

}


/* ========================================
   Footer Bottom Row
======================================== */

.ct-footer-copyright {
	width: 100%;
}


.ct-footer-copyright > p {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;

	width: 100%;
	margin: 0 !important;
}


.vtx-footer-copyright {
	flex: 0 1 auto;
}


.vtx-footer-legal {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 24px;

	flex: 0 0 auto;
	margin-left: auto;
}

@media (max-width: 767px) {

	.ct-footer-copyright > p {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}


	.vtx-footer-legal {
		justify-content: flex-start;
		gap: 20px;

		margin-left: 0;
	}

}

/* Footer legal links — reserve space for Back to Top */
@media (min-width: 768px) {
    .vtx-footer-legal {
        margin-right: 72px;
    }
}