/* Header & Footer Placeholders - Reserve space to prevent layout shift */
#site-header {
    min-height: 5rem; /* 80px at base */
}

#site-footer {
    min-height: 18.75rem; /* 300px at base */
}

@media (min-width: 768px) {
    #site-footer {
        min-height: 12.5rem; /* 200px at base */
    }
}

/* Header & Navigation */
.site-header {
    height: 5rem; /* 80px at base */
    display: flex;
    align-items: center;
    background-color: var(--color-bg-light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 3rem; /* 48px at base */
    width: auto;
}

.main-nav {
    display: none;
    /* Mobile first hidden, will show on desktop */
}

@media (min-width: 1024px) {
    .main-nav {
        display: flex;
        gap: var(--spacing-8);
    }
}

.nav-link {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: var(--spacing-1);
}

.nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover {
    color: var(--color-primary);
}

.banner-placeholder {
    width: 100%;
    height: 100%;
    background-color: #eee;
    display: grid;
    place-items: center;
    color: #999;
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, #E8EDF5 0%, #F0F4F9 100%);
    padding: 1.875rem 0; /* 30px at base */
}

.site-footer .container {
    padding-left: 1.875rem; /* 30px at base */
    padding-right: 1.875rem;
    font-size: var(--font-size-xs);
    color: var(--color-text-dark);
}

/* Glass Card Container */
.footer-glass-card {
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(248, 250, 252, 0.85) 50%,
        rgba(255, 255, 255, 0.88) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-default);
    padding: 3rem 0 2rem; /* 48px 0 32px at base */
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.9),
        inset 0 -1px 1px rgba(0, 0, 0, 0.03);
}

/* Gradient border for glass card */
.footer-glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(200, 210, 230, 0.3) 40%,
        rgba(180, 195, 220, 0.2) 60%,
        rgba(255, 255, 255, 0.8) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-8);
    margin-bottom: 2.5rem; /* 40px at base */
    padding: 0 1.5rem; /* 0 24px at base */
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2.5rem; /* 40px at base */
        padding: 0 2.5rem;
    }

    .footer-brand {
        flex: 1 1 100%;
    }

    .footer-links,
    .contact-details {
        flex: 1;
        margin-left: 0;
    }
}

@media (min-width: 1280px) {
    .footer-container {
        flex-wrap: nowrap;
        gap: 9.375rem; /* 150px at base */
        padding: 0 6.875rem; /* 0 110px at base */
    }

    .footer-brand {
        flex: 1;
    }

    .footer-links {
        margin-left: auto;
    }

    .contact-details {
        margin-left: auto;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* 16px at base */
}

.footer-tagline {
    color: var(--color-text-dark);
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem; /* 14px at base */
    font-weight: 400;
    margin-top: 0.25rem; /* 4px at base */
}

.social-links {
    display: flex;
    gap: 1.0625rem; /* 17px at base */
}

.social-icon {
    position: relative;
    width: 3.125rem; /* 50px at base */
    height: 3.125rem;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 250, 252, 0.9) 50%,
        rgba(255, 255, 255, 0.92) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0px 2px 8px 0px rgba(0, 0, 0, 0.12),
        inset 0 1px 1px rgba(255, 255, 255, 0.9),
        inset 0 -1px 1px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gradient border for social icons */
.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(200, 210, 230, 0.4) 50%,
        rgba(255, 255, 255, 0.7) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0px 6px 16px 0px rgba(0, 0, 0, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 1),
        inset 0 -1px 1px rgba(0, 0, 0, 0.05);
}

.social-icon:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.social-icon svg {
    width: 1.5625rem; /* 25px at base */
    height: 1.5625rem;
    position: relative;
    z-index: 1;
}

/* Footer logo */
.footer-logo {
    display: inline-block;
}

.footer-logo img {
    height: 3.125rem; /* 50px at base */
    width: auto;
}

.footer-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem; /* 14px at base */
    color: var(--color-text-dark);
    margin-bottom: 1rem; /* 16px at base */
}

.footer-links {
    margin-left: auto;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* 12px at base */
}

.footer-links a {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem; /* 14px at base */
    color: var(--color-text-light);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
}

/* Contact Details */
.contact-details {
    margin-left: auto;
}

.contact-details .footer-heading {
    font-size: 0.875rem; /* 14px at base */
    margin-bottom: 1.25rem; /* 20px at base */
}

.contact-row {
    display: flex;
    gap: 0.75rem; /* 12px at base */
    margin-bottom: 0.5rem; /* 8px at base */
    font-size: 0.875rem; /* 14px at base */
}

.contact-label {
    color: var(--color-text-light);
    min-width: 7.5rem; /* 120px at base */
}

.contact-row a {
    color: var(--color-text-dark);
    transition: color 0.3s ease;
}

.contact-row a:hover {
    color: var(--color-primary);
}

.contact-phones {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem; /* 12px at base */
    padding: 1.5rem 1.5rem 0; /* 24px at base */
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        padding: 1.5rem 2.5rem 0; /* 24px 40px at base */
        text-align: left;
    }
}

@media (min-width: 1280px) {
    .footer-bottom {
        padding: 1.5rem 6.875rem 0; /* 24px 110px at base */
        gap: 1rem; /* 16px at base */
    }
}

.footer-copyright {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem; /* 13px at base */
    color: #6B7280;
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* 8px at base */
    flex-wrap: wrap;
}

.footer-legal a {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem; /* 13px at base */
    color: #6B7280;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--color-primary);
}

.footer-legal .separator {
    color: #D1D5DB;
    font-size: 0.8125rem; /* 13px at base */
}

/* Responsive footer - mobile */
@media (max-width: 767px) {
    .footer-glass-card {
        padding: 2rem 0 1.5rem; /* 32px 0 24px at base */
        border-radius: 1rem; /* 16px at base */
    }

    .footer-legal {
        justify-content: center;
    }
}

/* Responsive footer - tablet */
@media (min-width: 768px) and (max-width: 1279px) {
    .footer-glass-card {
        padding: 2.5rem 0 1.75rem; /* 40px 0 28px at base */
    }
}

/* Sections General */
.section {
    padding: var(--spacing-10) 0;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .section {
        padding: var(--spacing-12) 0;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: var(--spacing-16) 0;
    }
}

.section-header {
    margin-bottom: var(--spacing-8);
    max-width: 50rem; /* 800px at base */
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--spacing-4);
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: var(--spacing-12);
        padding: 0;
    }
}

.section-title {
    font-family: 'Onest', sans-serif;
    font-size: 2rem; /* 32px at base */
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    color: #041A31;
    margin-bottom: var(--spacing-4);
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.625rem; /* 42px at base */
    }
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3.25rem; /* 52px at base */
        line-height: 105%;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 4rem; /* 64px at base */
    }
}

.section-subtitle {
    color: #041A31;
    font-family: 'Onest', sans-serif;
    font-size: 1rem; /* 16px at base */
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: 1.125rem; /* 18px at base */
        line-height: 1.875rem; /* 30px at base */
    }
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--color-text-white);
}

.color-primary {
    color: var(--color-primary);
}