/* ── ROOT ── */
:root {
    --primary: #2c3e50;
    --primary-dark: #1a252f;
    --primary-light: #d6e2ea;
    --primary-pale: #f4f7fa;
    --secondary: #18bc9c;
    --white: #ffffff;
    --text-dark: #1f2d3a;
    --text-muted: #6c7a89;
    --gradient-primary: linear-gradient(135deg, #2c3e50 0%, #243342 50%, #1a252f 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Source Sans 3", sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--white);
}

/* ── NAVBAR ── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--gradient-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar.scrolled {
    background: var(--white);
    border-bottom-color: var(--primary);
    box-shadow: 0 2px 12px rgba(44, 62, 80, 0.15);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.logo-text .main {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 17px;
    color: var(--white);
    transition: color 0.35s;
}

.navbar.scrolled .logo-text .main {
    color: var(--primary-dark);
}

.navbar.scrolled .logo-text .sub {
    color: var(--text-muted);
}

.nav-links {
    display: flex;
}

.nav-links a {
    display: block;
    padding: 20px 13px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s, border-color 0.2s;
}

.navbar.scrolled .nav-links a {
    color: #444;
}

.nav-links a:hover,
.nav-links a.active {
    border-color: currentColor;
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
    color: var(--primary-dark);
}

.nav-actions {
    display: flex;
    gap: 8px;
}

.btn-apply {
    background: var(--white);
    color: var(--primary-dark);
    border: none;
    padding: 10px 22px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 2px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.35s, color 0.35s;
}

.navbar.scrolled .btn-apply {
    background: var(--primary);
    color: var(--white);
}

.btn-apply:hover {
    opacity: 0.88;
}

/* ── DROPDOWN ── */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    display: block;
    padding: 20px 13px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s, border-color 0.2s;
    cursor: pointer;
    white-space: nowrap;
}

.navbar.scrolled .nav-dropdown-toggle {
    color: #444;
}

.nav-dropdown:hover .nav-dropdown-toggle {
    border-color: currentColor;
}

.navbar.scrolled .nav-dropdown:hover .nav-dropdown-toggle {
    color: var(--primary-dark);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: max-content;
    min-width: 100%;
    background: var(--primary-dark);
    border-top: 3px solid var(--primary-pale);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.22);
    list-style: none;
    padding: 4px 0;
    z-index: 300;
}

.navbar.scrolled .nav-dropdown-menu {
    background: var(--white);
    border-top-color: var(--primary);
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.15);
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu li {
    margin: 0;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 9px 16px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    letter-spacing: 0.3px;
    text-transform: none;
    border-bottom: none !important;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.navbar.scrolled .nav-dropdown-menu li a {
    color: #444 !important;
}

.nav-dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white) !important;
    border-color: transparent !important;
}

.navbar.scrolled .nav-dropdown-menu li a:hover {
    background: var(--primary-pale);
    color: var(--primary-dark) !important;
}

.nav-dropdown-menu li:not(:last-child) a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.navbar.scrolled .nav-dropdown-menu li:not(:last-child) a {
    border-bottom: 1px solid var(--primary-light) !important;
}

/* ── FOOTER ── */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.72);
    padding: 52px 40px 26px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}

.footer-brand .brand-name {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 18px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    margin-bottom: 7px;
}

.contact-icon {
    width: 16px;
    height: 16px;
    fill: var(--white);
    opacity: 0.85;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 16px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 9px;
}

.footer ul a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer ul a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}