/**
 * Footer Styles - Custom Agency
 * Pixel-perfect match to React Footer.jsx & FooterTitle.jsx
 */

/* Container & Base */
.site-footer-section {
    background-color: #181717;
    color: #f4efe7;
    width: 100%;
    min-height: 0;
    padding: 3rem 1rem;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@media (min-width: 640px) {
    .site-footer-section {
        padding: 4rem 2rem;
    }
}

@media (min-width: 768px) {
    .site-footer-section {
        padding: 5rem 3rem;
    }
}

@media (min-width: 1024px) {
    .site-footer-section {
        padding: 5rem 4rem;
    }
}

.site-footer-container {
    max-width: 80rem;
    margin: 0 auto;
    width: 100%;
}

/* 1. Trusted Partners Block */
.partners-block {
    border-bottom: 1px solid rgba(177, 166, 150, 0.2);
    padding-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .partners-block {
        padding-bottom: 3.5rem;
    }
}

@media (min-width: 768px) {
    .partners-block {
        padding-bottom: 4rem;
    }
}

.partners-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    color: #b1a696;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.partners-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f4efe7;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    margin-top: 0;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .partners-heading {
        font-size: 1.875rem;
        margin-bottom: 2rem;
    }
}

@media (min-width: 768px) {
    .partners-heading {
        font-size: 2.25rem;
    }
}

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

@media (min-width: 640px) {
    .partners-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.partner-card {
    padding: 0.875rem 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(177, 166, 150, 0.2);
    background-color: rgba(36, 34, 32, 0.4);
    color: #f4efe7;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.25s ease;
    box-sizing: border-box;
    min-height: 3.25rem;
}

@media (min-width: 640px) {
    .partner-card {
        padding: 1rem 1rem;
        border-radius: 1rem;
        font-size: 0.875rem;
    }
}

.partner-card:hover {
    border-color: rgba(177, 166, 150, 0.6);
    background-color: rgba(36, 34, 32, 0.7);
    color: #ffffff;
}

/* 2. Main Footer CTA Row */
.footer-cta-row {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 3rem 0;
    gap: 2rem;
    border-bottom: 1px solid rgba(177, 166, 150, 0.2);
}

@media (min-width: 640px) {
    .footer-cta-row {
        padding: 4rem 0;
    }
}

@media (min-width: 768px) {
    .footer-cta-row {
        padding: 5rem 0;
    }
}

@media (min-width: 1024px) {
    .footer-cta-row {
        flex-direction: row;
        align-items: center;
    }
}

.footer-cta-text-wrap {
    max-width: 42rem;
}

.footer-cta-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    color: #b1a696;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .footer-cta-eyebrow {
        font-size: 0.875rem;
    }
}

.footer-cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #f4efe7;
    letter-spacing: -0.025em;
    line-height: 1.12;
    margin: 0;
}

@media (min-width: 640px) {
    .footer-cta-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .footer-cta-title {
        font-size: 3.75rem;
    }
}

.footer-cta-gold {
    color: #b1a696;
}

.footer-cta-desc {
    color: #ded8cf;
    font-size: 0.875rem;
    margin-top: 1rem;
    line-height: 1.625;
    max-width: 36rem;
}

@media (min-width: 640px) {
    .footer-cta-desc {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .footer-cta-desc {
        font-size: 1.125rem;
    }
}

.footer-cta-btn-wrap {
    flex-shrink: 0;
}

.footer-booking-btn {
    background-color: #f4efe7;
    color: #181717;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    cursor: pointer;
}

@media (min-width: 640px) {
    .footer-booking-btn {
        padding: 1.125rem 2.25rem;
        font-size: 1rem;
    }
}

.footer-booking-btn:hover {
    background-color: #b1a696;
    color: #181717;
}

.footer-booking-btn:active {
    transform: scale(0.98);
}

.footer-booking-btn svg {
    transition: transform 0.3s ease;
}

.footer-booking-btn:hover svg {
    transform: translate(2px, -2px);
}

/* 3. DESKTOP & TABLET Footer Navigation (5 Columns) */
.site-footer-nav-desktop {
    display: none;
}

@media (min-width: 768px) {
    .site-footer-nav-desktop {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
        padding: 3rem 0;
        border-bottom: 1px solid rgba(177, 166, 150, 0.2);
        align-items: start;
    }
}

@media (min-width: 1024px) {
    .site-footer-nav-desktop {
        grid-template-columns: 1.35fr 1.05fr 0.9fr 1.15fr 1.15fr;
        gap: 2rem;
    }
}

@media (min-width: 1280px) {
    .site-footer-nav-desktop {
        gap: 2.5rem;
        padding: 4rem 0;
    }
}

.footer-col-1 {
    grid-column: span 2;
}

@media (min-width: 1024px) {
    .footer-col-1 {
        grid-column: span 1;
        padding-right: 0.5rem;
    }
}

.footer-col-header {
    height: 2rem;
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.footer-col-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #b1a696;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

@media (min-width: 1024px) {
    .footer-col-title {
        font-size: 0.875rem;
    }
}

.footer-col-logo img {
    height: 1.75rem;
    width: auto;
    object-fit: contain;
    display: block;
}

@media (min-width: 640px) {
    .footer-col-logo img {
        height: 2rem;
    }
}

.footer-col-desc {
    font-size: 0.875rem;
    color: #ded8cf;
    line-height: 1.625;
    margin-bottom: 1.25rem;
    margin-top: 0;
}

@media (min-width: 1024px) {
    .footer-col-desc {
        font-size: 0.9375rem;
    }
}

.footer-presence-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #b1a696;
}

@media (min-width: 1024px) {
    .footer-presence-indicator {
        font-size: 0.875rem;
    }
}

.footer-gold-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background-color: #b1a696;
    display: inline-block;
    flex-shrink: 0;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-nav-link {
    font-size: 0.875rem;
    color: #ded8cf;
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 0.125rem 0;
    text-align: left;
    line-height: 1.35;
    background: transparent;
    border: none;
    cursor: pointer;
    display: block;
}

@media (min-width: 1024px) {
    .footer-nav-link {
        font-size: 0.9375rem;
    }
}

.footer-nav-link:hover {
    color: #b1a696;
}

.footer-flag-badge {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    overflow: hidden;
    border: 1px solid rgba(177, 166, 150, 0.4);
    flex-shrink: 0;
    background-color: #242220;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-flag-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer-office-badge {
    font-size: 10px;
    color: #ded8cf;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    background-color: #242220;
    border: 1px solid rgba(177, 166, 150, 0.3);
    text-transform: uppercase;
    display: inline-block;
    line-height: 1.2;
}

.footer-contact-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-contact-line {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: #ded8cf;
    line-height: 1.5;
}

@media (min-width: 1024px) {
    .footer-contact-line {
        font-size: 0.9375rem;
    }
}

.footer-contact-line a {
    color: #ded8cf;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-line a:hover {
    color: #b1a696;
}

.footer-contact-icon {
    color: #b1a696;
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 500;
    white-space: nowrap;
}

/* 4. MOBILE Footer (< 768px) */
.site-footer-nav-mobile {
    display: block;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(177, 166, 150, 0.2);
}

@media (min-width: 768px) {
    .site-footer-nav-mobile {
        display: none !important;
    }
}

.mobile-brand-box {
    margin-bottom: 1.5rem;
}

.mobile-brand-logo {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.mobile-brand-logo img {
    height: 1.75rem;
    width: auto;
    object-fit: contain;
}

.mobile-brand-desc {
    font-size: 0.875rem;
    color: #ded8cf;
    line-height: 1.625;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.mobile-offices-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.mobile-office-card {
    padding-top: 0.5rem;
}

.mobile-office-card.bordered {
    border-top: 1px solid rgba(177, 166, 150, 0.15);
    padding-top: 1rem;
}

.mobile-office-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.mobile-office-name-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-office-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #b1a696;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mobile-office-details {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: #ded8cf;
}

.mobile-office-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.mobile-office-item a {
    color: #ded8cf;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-office-item a:hover {
    color: #b1a696;
}

.mobile-office-row-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.25rem;
}

.mobile-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #ded8cf;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.mobile-wa-btn:hover {
    color: #b1a696;
}

/* Accordion Dropdowns */
.mobile-accordion-section {
    border-top: 1px solid rgba(177, 166, 150, 0.2);
}

.mobile-accordion-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    text-align: left;
    cursor: pointer;
    min-height: 44px;
    background: transparent;
    border: none;
    box-sizing: border-box;
}

.mobile-accordion-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #b1a696;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.mobile-accordion-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #b1a696;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-accordion-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

.mobile-accordion-btn.is-active .mobile-accordion-icon {
    transform: rotate(180deg);
    color: #f4efe7;
}

.mobile-accordion-content {
    display: none;
    padding-bottom: 1rem;
    padding-top: 0.25rem;
    padding-left: 0.25rem;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-accordion-content.is-open {
    display: flex !important;
}

/* Contact Accordion Special Styling */
.mobile-contact-accordion-content {
    padding-top: 0.375rem;
    padding-bottom: 0.75rem;
}

.mobile-contact-accordion-content .mobile-offices-wrap {
    margin-bottom: 0;
    gap: 0.75rem;
}

.mobile-contact-accordion-content .mobile-office-card {
    background-color: rgba(36, 34, 32, 0.6);
    border: 1px solid rgba(177, 166, 150, 0.15);
    border-radius: 0.75rem;
    padding: 0.75rem;
}

.mobile-contact-accordion-content .mobile-office-card.bordered {
    border-top: 1px solid rgba(177, 166, 150, 0.15);
    padding-top: 0.75rem;
}

.mobile-contact-accordion-content .mobile-office-item {
    font-size: 0.75rem;
}

.mobile-contact-accordion-content .mobile-office-item a {
    line-height: 1.4;
}

.mobile-contact-accordion-content .mobile-office-row-split {
    padding-top: 0.375rem;
    margin-top: 0.375rem;
    border-top: 1px solid rgba(177, 166, 150, 0.1);
}

.mobile-contact-accordion-content .mobile-wa-btn {
    background: #181717;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    border: 1px solid rgba(177, 166, 150, 0.3);
    font-size: 0.6875rem;
}

.mobile-accordion-link {
    font-size: 0.875rem;
    color: #ded8cf;
    text-decoration: none;
    padding: 0.5rem 0;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(177, 166, 150, 0.1);
    transition: color 0.2s ease;
}

.mobile-accordion-link:last-child {
    border-bottom: none;
}

.mobile-accordion-link:hover {
    color: #b1a696;
}

.mobile-accordion-link-arrow {
    width: 0.75rem;
    height: 0.75rem;
    color: #b1a696;
    flex-shrink: 0;
}

/* 5. Bottom Social & Copyright Bar (Compact on Mobile) */
.footer-bottom-bar {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    gap: 0.625rem;
}

@media (min-width: 640px) {
    .footer-bottom-bar {
        padding-top: 2.5rem;
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .footer-bottom-bar {
        flex-direction: row;
    }
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

@media (min-width: 640px) {
    .footer-social-links {
        gap: 0.75rem;
    }
}

.footer-social-icon {
    border: 1px solid rgba(177, 166, 150, 0.3);
    border-radius: 9999px;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f4efe7;
    text-decoration: none;
    transition: all 0.25s ease;
}

@media (min-width: 640px) {
    .footer-social-icon {
        width: 2.25rem;
        height: 2.25rem;
    }
}

.footer-social-icon:hover {
    background-color: #f4efe7;
    color: #181717;
    border-color: #f4efe7;
    transform: translateY(-2px);
}

.footer-copyright {
    color: #b1a696;
    font-size: 0.6875rem;
    margin: 0;
    text-align: center;
    letter-spacing: 0.025em;
}

@media (min-width: 640px) {
    .footer-copyright {
        font-size: 0.875rem;
    }
}

@media (min-width: 768px) {
    .footer-copyright {
        text-align: right;
    }
}

/* 6. Big Animated Footer Title Section (FooterTitle.jsx) */
.site-footer-title-section {
    border-top: 1px solid rgba(196, 193, 185, 0.3);
    background-color: #181717;
    padding: 0.5rem 0.75rem 0.75rem;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .site-footer-title-section {
        padding: 1.5rem 1.5rem 2rem;
    }
}

.footer-title-credits {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    text-align: left;
}

@media (min-width: 640px) {
    .footer-title-credits {
        margin-bottom: 1.5rem;
    }
}

.footer-credit-text {
    color: #b1a696;
    font-size: 0.625rem;
    margin: 0;
}

@media (min-width: 640px) {
    .footer-credit-text {
        font-size: 0.7rem;
    }
}

.footer-credit-link {
    color: #f2ede5;
    font-weight: 700;
    text-decoration: none;
}

.footer-big-logo-container {
    display: none;
}

@media (min-width: 768px) {
    .footer-big-logo-container {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 1rem;
        overflow: hidden;
    }
}

.footer-big-logo {
    display: block;
    margin: 0 auto;
    width: auto;
    max-height: 36px;
    max-width: 85vw;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.4s ease;
    user-select: none;
}

@media (min-width: 640px) {
    .footer-big-logo {
        max-height: 90px;
    }
}

@media (min-width: 768px) {
    .footer-big-logo {
        max-height: 140px;
    }
}

@media (min-width: 1024px) {
    .footer-big-logo {
        max-height: 180px;
    }
}

.footer-big-logo:hover {
    opacity: 1;
}
