/* Zypliance common styles: header, footer, variables */
:root {
    --navy-900: #0a1628;
    --navy-800: #0f2341;
    --navy-700: #1a365d;
    --gold-500: #d4af37;
    --gold-400: #e8c252;
    --gold-600: #b8962e;
    --white: #ffffff;
    --cream: #fffef8;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--gray-700); background: var(--white); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* NAV */
header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(10,22,40,0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212,175,55,0.18);
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
    transition: box-shadow 0.3s ease;
}
header.scrolled { box-shadow: 0 6px 40px rgba(0,0,0,0.4); }
nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; max-width: 1200px; margin: 0 auto; height: 68px;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 52px; width: auto; }
.nav-panel { display: none; align-items: center; gap: 4px; list-style: none; }
.nav-panel.active { display: flex; }
.nav-panel > li { position: relative; }
.nav-panel > li > a {
    color: rgba(255,255,255,0.88); text-decoration: none;
    padding: 8px 14px; font-weight: 600; font-size: 0.9rem;
    transition: all 0.3s ease; border-radius: 8px;
    display: flex; align-items: center; gap: 5px;
}
.nav-panel > li > a:hover, .nav-panel > li > a.active-link { color: var(--gold-400); background: rgba(255,255,255,0.07); }
.nav-panel .dropdown-menu {
    position: absolute; top: 100%; left: 0;
    background: var(--navy-800); min-width: 240px;
    border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all 0.3s ease; padding: 10px; margin-top: 6px;
    border: 1px solid rgba(212,175,55,0.15);
}
.nav-panel li:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 14px; color: #d1d5db;
    text-decoration: none; font-size: 0.875rem;
    border-radius: 9px; transition: all 0.3s ease;
}
.dropdown-menu a:hover { background: var(--gold-500); color: var(--navy-900); }
.dropdown-menu a i { width: 18px; }
.nav-cta {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600)) !important;
    color: var(--navy-900) !important;
    border-radius: 50px !important; padding: 10px 24px !important;
    font-weight: 700 !important; font-size: 0.88rem !important;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,175,55,0.4) !important; }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* FOOTER */
footer { background: var(--navy-900); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .logo img { height: 56px; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 18px; font-size: 0.92rem; }
.footer-certs { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-cert { background: rgba(255,255,255,0.05); border: 1px solid rgba(212,175,55,0.3); padding: 6px 13px; border-radius: 50px; font-size: 0.75rem; color: var(--gold-400); font-weight: 600; }
.footer-heading { font-size: 0.85rem; font-weight: 700; color: var(--gold-400); margin-bottom: 18px; text-transform: uppercase; letter-spacing: 2px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; transition: all 0.3s ease; font-size: 0.88rem; }
.footer-links a:hover { color: var(--gold-400); padding-left: 5px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; flex-wrap: wrap; }
.footer-bottom p { color: rgba(255,255,255,0.45); font-size: 0.83rem; }
.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom-links a { color: rgba(255,255,255,0.45); font-size: 0.83rem; text-decoration: none; }
.footer-bottom-links a:hover { color: var(--gold-400); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 40px; height: 40px; background: rgba(255,255,255,0.06); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); transition: all 0.3s ease; font-size: 1rem; text-decoration: none; }
.footer-social a:hover { background: var(--gold-500); color: var(--navy-900); }
.footer-contact { margin-top: 0; }
.footer-contact p { font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.footer-contact a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-contact a:hover { color: var(--gold-400); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-panel { display: none !important; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,22,40,0.98); flex-direction: column !important; padding: 16px; border-top: 1px solid rgba(212,175,55,0.15); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
    .nav-panel.active.mobile-open { display: flex !important; }
    .nav-panel > li { width: 100%; }
    .nav-panel > li > a { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.88); }
    .nav-panel .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; margin-top: 0; background: rgba(0,0,0,0.3); }
    .mobile-menu-btn { display: block; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) {
    nav { height: 60px; padding: 0 16px; }
    .logo img { height: 38px !important; }
}
