/* Footer Section Block Styles */

.footer-section {
    background: var(--color-secondary-foreground);
    padding-block: 128px 64px;
    width: 100%;
    color: var(--color-background);
}

.footer-section__container {
    max-width: 1440px;
    margin: 0 auto;
    padding-inline: var(--container-padding-outer);
}

.footer-section__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 120px;
}

/* Left section */
.footer-section__left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-inline: var(--container-padding-inner);
}

.footer-section__heading {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 500;
    line-height: 56px;
    color: var(--color-background);
    margin: 0;
    white-space: pre-line;
}

.footer-section__description {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: var(--color-muted-foreground);
    margin: 0;
    white-space: pre-line;
}

.footer-section__whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    margin-top: 32px;
    padding-bottom: 16px;
    text-decoration: none;
    color: var(--color-primary-foreground);
    border-style: solid;
    border-width: 1px;
    border-color: var(--color-primary-foreground);
    border-top: none;
    border-right: none;
    border-left: none;
    transition: opacity 0.2s ease;
}

.footer-section__whatsapp-link:hover {
    opacity: 0.5;
}

.footer-section__whatsapp-text {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
}

.footer-section__arrow {
    width: 24px;
    height: 24px;
}

/* Right section - Contact info */
.footer-section__right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px 48px;
    padding-inline: var(--container-padding-inner);
}

.footer-section__contact-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section__contact-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    color: var(--color-muted-foreground);
}

.footer-section__contact-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.footer-section__contact-value {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--color-primary-foreground);
}

.footer-section__contact-value:not(.footer-section__contact-link) {
    white-space: pre-line;
}

.footer-section__contact-link {
    color: var(--color-primary-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.footer-section__contact-link:hover {
    color: var(--color-background);
}

/* Bottom section */
.footer-section__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block-start: 24px;
    margin-inline: var(--container-padding-inner);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Logo on the left */
.footer-section__logo {
    display: flex;
    align-items: center;
}

.footer-section__logo-link {
    display: block;
    transition: opacity 0.2s ease;
}

.footer-section__logo-link:hover {
    opacity: 0.8;
}

.footer-section__logo-image {
    height: 36px;
    width: auto;
    display: block;
}

/* Copyright and links on the right */
.footer-section__bottom-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section__copyright {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: var(--color-muted-foreground);
}

.footer-section__copyright a {
    color: var(--color-muted-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section__copyright a:hover {
    color: var(--color-background);
}

.footer-section__design-credit {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: var(--color-muted-foreground);
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-section__design-credit-link {
    color: var(--color-muted-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section__design-credit-link:hover {
    color: var(--color-background);
}

.footer-section__links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section__link {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: var(--color-muted-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section__link:hover {
    color: var(--color-background);
}

.footer-section__separator {
    color: var(--color-muted-foreground);
    font-size: 12px;
}

/* Editor Preview Styles */
.footer-section-preview {
    background: var(--color-secondary-foreground);
    padding: 60px 20px 40px 20px;
    color: var(--color-background);
}

.footer-section-preview__container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-section-preview__left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 60px;
    padding-inline: var(--container-padding-inner);
}

.footer-section-preview__heading {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 500;
    line-height: 56px;
    color: var(--color-background);
    margin: 0;
    white-space: pre-line;
}

.footer-section-preview__description {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: var(--color-muted-foreground);
    margin: 0;
    white-space: pre-line;
}

.footer-section-preview__whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    cursor: pointer;
}

.footer-section-preview__whatsapp-text {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    color: var(--color-background);
}

.footer-section-preview__arrow {
    color: var(--color-background);
}

.footer-section-preview__right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 48px;
    margin-bottom: 60px;
    padding-inline: var(--container-padding-inner);
}

.footer-section-preview__contact-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section-preview__contact-label {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    color: var(--color-muted-foreground);
}

.footer-section-preview__contact-value {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--color-muted-foreground);
    white-space: pre-line;
}

.footer-section-preview__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block-start: 24px;
    padding-inline: var(--container-padding-inner);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section-preview__copyright {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: var(--color-muted-foreground);
}

.footer-section-preview__links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-section-preview__link {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: var(--color-muted-foreground);
}

.footer-section-preview__separator {
    color: var(--color-muted-foreground);
    font-size: 12px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .footer-section__content {
        gap: 60px;
        margin-bottom: 80px;
    }

    .footer-section__right {
        gap: 0 32px;
        grid-template-columns: auto;
    }
}

@media (max-width: 768px) {
    .footer-section {
        padding-block: 80px 40px;
    }

    .footer-section__content {
        grid-template-columns: 1fr;
        gap: 48px;
        margin-bottom: 60px;
    }

    .footer-section__heading {
        font-size: 36px;
        line-height: 44px;
    }

    .footer-section__right {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-section__bottom {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .footer-section__bottom-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-section__separator {
        display: none;
    }

    .footer-section__logo-image {
        height: 32px;
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding-block: 60px 32px;
        padding-inline: 16px;
    }

    .footer-section__container {
        padding-inline: 0;
    }

    .footer-section__content {
        grid-template-columns: 1fr;
        gap: 80px;
        margin-bottom: 48px;
    }

    .footer-section__left {
        padding-inline: 0;
        gap: 20px;
    }

    .footer-section__description {
        font-size: 16px;
        line-height: 24px;
    }

    .footer-section__whatsapp-link {
        margin-top: 24px;
    }

    .footer-section__right {
        padding-inline: 0;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-section__bottom {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        padding-inline: 0;
        padding-block-start: 20px;
    }

    .footer-section__bottom-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-section__separator {
        display: none;
    }

    .footer-section__logo-image {
        height: 28px;
    }
}
