/* ===== Base Reset & Globals ===== */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    color: #1a2744;
    background: #fff;
}
.font-serif { font-family: 'Playfair Display', ui-serif, Georgia, serif; }

/* ===== Navigation ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.584);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.site-header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
}

.nav-logo {
    flex-shrink: 0;
    margin-right: auto;
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 800;
    font-style: italic;
    color: #1a2744;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    color: #2d6a7a;
    text-shadow: 0 2px 8px rgba(45, 106, 122, 0.2);
}

.nav-links {
    display: none;
    list-style: none;
    gap: 2rem;
    align-items: center;
}
.nav-links a {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #4a5568;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2d6a7a, #6ba3aa);
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-links a:hover {
    color: #1a2744;
}

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

.btn-get-started-nav {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: #1a2744;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.btn-get-started-nav::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn-get-started-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 39, 68, 0.2);
}

.btn-get-started-nav:active::before {
    width: 300px;
    height: 300px;
}

/* ===== Shared Buttons ===== */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #1a2744;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(26, 39, 68, 0.25);
}

.btn-primary:active::before {
    width: 300px;
    height: 300px;
}

.btn-outline {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: transparent;
    color: #1a2744;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    border: 2px solid #d1d5db;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #f0f5f8;
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-outline:hover {
    border-color: #2d6a7a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(45, 106, 122, 0.15);
}

.btn-outline:hover::before {
    left: 0;
}

/* ===== Mobile Menu Button ===== */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    transition: all 0.3s ease;
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1a2744;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-menu-btn:hover span {
    background: #2d6a7a;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .nav {
        flex-wrap: wrap;
        padding: 1rem 1.25rem;
    }

    .nav-actions {
        gap: 0.5rem;
        margin-left: auto;
    }

    .nav-lang-select {
        max-width: 6.5rem;
        padding: 0.4rem 0.5rem;
        font-size: 0.7rem;
    }

    .nav-cta-desktop {
        display: none !important;
    }

    .mobile-menu-btn {
        flex-shrink: 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        order: 10;
        gap: 0;
        margin-top: 0.75rem;
        padding-top: 0.5rem;
        border-top: 1px solid #e5e7eb;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 0.85rem 0.25rem;
        font-size: 0.9375rem;
        text-transform: none;
        letter-spacing: 0.02em;
        border-radius: 8px;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover,
    .nav-links a:focus {
        background: #f3f6f8;
        color: #1a2744;
    }

    .nav-links .nav-mobile-cta {
        margin-top: 0.5rem;
        padding-top: 0.75rem;
        border-top: 1px solid #e5e7eb;
    }

    .nav-links .nav-mobile-cta a {
        text-align: center;
        background: #1a2744;
        color: #fff;
        font-weight: 600;
        padding: 0.85rem 1rem;
    }

    .nav-links .nav-mobile-cta a:hover,
    .nav-links .nav-mobile-cta a:focus {
        background: #2d3f5c;
        color: #fff;
    }
}

@media (min-width: 768px) {
    .nav {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 1.5rem;
    }

    .nav-logo {
        margin-right: 0;
        justify-self: start;
        grid-column: 1;
    }

    .nav-links {
        display: flex;
        justify-self: center;
        grid-column: 2;
        white-space: nowrap;
    }

    .nav-links .nav-mobile-cta {
        display: none;
    }

    .nav-actions {
        justify-self: end;
        grid-column: 3;
    }

    .mobile-menu-btn {
        display: none;
    }

    .nav-cta-desktop {
        display: inline-block !important;
    }
}

@media (min-width: 1024px) {
    .nav { padding: 1.5rem 3rem; }
}

/* ===== Language Switcher ===== */
.nav-lang-select {
    padding: 0.45rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #4a5568;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    max-width: 8rem;
}

.nav-lang-select:hover,
.nav-lang-select:focus {
    border-color: #2d6a7a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 106, 122, 0.12);
}

/* ===== Footer ===== */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 5rem 2rem 2rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-top: 1px solid #1e293b;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    color: #f8fafc;
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-desc {
    margin-bottom: 1.5rem;
    color: #64748b;
    max-width: 320px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #6ba3aa;
    transform: translateX(4px);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1e293b;
    color: #f8fafc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #2d6a7a;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(45, 106, 122, 0.3);
}

.footer-contact .office-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact .office-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #94a3b8;
}

.footer-contact .office-info li a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact .office-info li a:hover {
    color: #6ba3aa;
}

.footer-contact .info-dot {
    width: 6px;
    height: 6px;
    background: #2d6a7a;
    border-radius: 50%;
    margin-top: 7px;
    flex-shrink: 0;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #64748b;
    font-size: 0.8125rem;
}

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

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-col:last-child {
        grid-column: span 3;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding: 4rem 1.25rem 2rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-col:last-child {
        grid-column: span 1;
    }
    .footer-col h3 {
        margin-bottom: 1rem;
    }
}


