/* --- Core Variables & Reset --- */
:root {
    --primary: #c5a059; /* Gold */
    --primary-dark: #9e7f45;
    --text-dark: #2b2b2b; /* Graphite */
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-dark: #0a1128; /* Dark Navy */
    --white: #ffffff;
    --radius: 16px;
    --transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html.smooth-scroll { scroll-behavior: smooth; }

body {
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { color: var(--bg-dark); font-weight: 600; line-height: 1.2; }

/* --- Animations --- */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-primary { background-color: var(--primary); color: var(--white); }
.btn-primary:hover { 
    background-color: var(--primary-dark); 
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.3);
    transform: translateY(-2px);
    color: var(--white);
}
.btn-outline-gold {
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
}
.btn-outline-gold:hover {
    background: rgba(197, 160, 89, 0.1);
    transform: translateY(-2px);
}

/* --- Navigation --- */
header {
    position: absolute; top: 0; left: 0; right: 0;
    padding: 20px 0; z-index: 100;
    animation: heroFadeUp 0.8s ease-out forwards;
}
.nav-container {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(16px);
    padding: 10px 20px; border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.04); border: 1px solid rgba(255,255,255,0.4);
}
.logo { font-size: 24px; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 5px; text-transform: uppercase; letter-spacing: 1px;}
.logo span { color: var(--text-dark); }
.nav-links { display: flex; gap: 25px; }
.nav-links a { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; position: relative;}
.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0;
    background-color: var(--primary); transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-actions { display: flex; gap: 15px; align-items: center; }

/* --- Hero Section --- */
.service-hero {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 220px 0 160px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.service-hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 24px 24px; pointer-events: none;
}
.service-hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.service-hero h1 {
    color: var(--primary);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    opacity: 0; animation: heroFadeUp 0.8s ease-out 0.2s forwards;
}
.service-hero p {
    font-size: 1.25rem; color: rgba(255, 255, 255, 0.8);
    font-weight: 300; max-width: 700px; margin: 0 auto;
    opacity: 0; animation: heroFadeUp 0.8s ease-out 0.4s forwards;
}
.breadcrumb {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
    color: rgba(255,255,255,0.5); margin-bottom: 30px;
    opacity: 0; animation: heroFadeUp 0.8s ease-out 0.1s forwards;
}
.breadcrumb a { color: var(--white); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--primary); }

/* --- Main Service Content (Overlapping Layout) --- */
.service-details-wrapper {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding-bottom: 100px;
}
.service-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start;
}

/* Left Column: Article */
.service-article {
    background: var(--white);
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.02);
}
.service-article h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--bg-dark);
    display: flex; align-items: center; gap: 15px;
}
.service-article h2::before {
    content: ''; display: inline-block; width: 40px; height: 3px; background: var(--primary);
}
.service-article p {
    font-size: 1.1rem; color: var(--text-light);
    line-height: 1.8; margin-bottom: 25px;
}
.service-article h3 {
    font-size: 1.5rem; margin: 45px 0 20px; color: var(--bg-dark);
}

/* Custom Animated Checklist */
.service-checklist { margin-top: 30px; }
.service-checklist li {
    display: flex; align-items: flex-start; gap: 15px;
    margin-bottom: 20px; font-size: 1.05rem; color: var(--text-dark);
    background: var(--bg-light); padding: 20px; border-radius: 16px;
    border: 1px solid #eaeaea; transition: var(--transition);
}
.service-checklist li:hover {
    transform: translateX(5px);
    border-color: rgba(197, 160, 89, 0.3);
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}
.check-icon {
    flex-shrink: 0; width: 28px; height: 28px;
    background: rgba(197, 160, 89, 0.1); color: var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.check-icon svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.check-content strong { display: block; color: var(--bg-dark); margin-bottom: 4px; font-size: 1.1rem; }
.check-content span { font-size: 0.95rem; color: var(--text-light); }

/* Right Column: Sticky Sidebar */
.service-sidebar {
    position: sticky;
    top: 120px;
}
.sidebar-card {
    background: var(--bg-dark);
    color: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(10, 17, 40, 0.15);
    position: relative; overflow: hidden;
}
.sidebar-card::before {
    content: ''; position: absolute; top: -50px; right: -50px; width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.2) 0%, transparent 70%); border-radius: 50%;
}
.sidebar-card h4 { color: var(--primary); font-size: 1.4rem; margin-bottom: 15px; }
.sidebar-card p { color: rgba(255,255,255,0.8); font-size: 1rem; margin-bottom: 30px; line-height: 1.6; }

.sidebar-contact {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    padding: 20px; border-radius: 16px; margin-bottom: 30px;
}
.sidebar-contact span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); margin-bottom: 5px; font-weight: 700;}
.sidebar-contact strong { font-size: 1.1rem; color: var(--white); }

.sidebar-links { margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; }
.sidebar-links h5 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: #888; margin-bottom: 15px; }
.sidebar-links a { display: block; color: var(--white); font-weight: 500; margin-bottom: 12px; transition: color 0.3s; display: flex; align-items: center; gap: 10px;}
.sidebar-links a::before { content: '→'; color: var(--primary); opacity: 0; transform: translateX(-10px); transition: all 0.3s ease; }
.sidebar-links a:hover { color: var(--primary); }
.sidebar-links a:hover::before { opacity: 1; transform: translateX(0); }

/* --- CTA Section --- */
.cta { 
    background: linear-gradient(135deg, var(--bg-dark) 0%, #152243 100%);
    background-size: 200% 200%; animation: gradientShift 8s ease infinite;
    color: var(--white); padding: 100px 20px; text-align: center; 
    margin: 0 auto 80px; width: calc(100% - 40px); max-width: 1160px;
    border-radius: 40px; position: relative; overflow: hidden;
    box-shadow: 0 25px 50px rgba(10, 17, 40, 0.2);
}
.cta h2 { font-size: 2.8rem; margin-bottom: 25px; position: relative; z-index: 2; color: var(--primary);}
.cta p { max-width: 700px; margin: 0 auto 40px; position: relative; z-index: 2; opacity: 0.8; font-size: 1.1rem; color: var(--white); font-weight: 300;}
.cta-shape { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; }
.shape1 { width: 600px; height: 600px; bottom: -300px; right: -100px; background: radial-gradient(circle, rgba(197, 160, 89, 0.5) 0%, transparent 70%); animation: floatShape1 15s infinite ease-in-out; }
.shape2 { width: 400px; height: 400px; top: -150px; left: -100px; background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%); animation: floatShape2 12s infinite ease-in-out reverse; }

@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes floatShape1 { 0% { transform: translate(0, 0) scale(1); } 33% { transform: translate(-40px, -40px) scale(1.1); } 66% { transform: translate(20px, -20px) scale(0.9); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes floatShape2 { 0% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, 30px) scale(1.2); } 66% { transform: translate(-20px, 20px) scale(0.85); } 100% { transform: translate(0, 0) scale(1); } }

/* --- Footer --- */
footer { padding: 80px 0 20px; text-align: center; background: #fff;}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px; text-align: left; margin-bottom: 60px;}
.footer-col h4 { margin-bottom: 25px; font-size: 0.85rem; color: var(--bg-dark); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700;}
.footer-col ul { display: flex; flex-direction: column; gap: 15px; }
.footer-col a { color: var(--text-light); font-size: 0.95rem; transition: var(--transition); position: relative; display: inline-block;}
.footer-col a:hover { color: var(--primary-dark); transform: translateX(5px); }
.footer-regulatory { text-align: left; font-size: 0.8rem; color: var(--text-light); padding: 35px 0; border-top: 1px solid #eaeaea; border-bottom: 1px solid #eaeaea; margin-bottom: 35px; line-height: 1.8;}
.footer-regulatory strong { color: var(--bg-dark); display: block; margin-bottom: 10px; font-size: 0.9rem;}
.footer-bottom { display: flex; justify-content: space-between; color: var(--text-light); font-size: 0.9rem; align-items: center;}
.big-text { font-size: 11vw; font-weight: 800; color: #f4f6f8; line-height: 0.8; margin-top: 50px; letter-spacing: -2px; user-select: none; text-transform: uppercase; text-align: center;}

/* Responsive */
@media (max-width: 992px) {
    .service-grid { grid-template-columns: 1fr; }
    .service-sidebar { position: relative; top: 0; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
}
@media (max-width: 768px) {
    .service-hero { padding: 160px 20px 100px; }
    .service-hero h1 { font-size: 2.5rem; }
    .service-article { padding: 40px 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta { padding: 80px 20px; margin: 0 auto 40px; width: calc(100% - 30px); }
    .cta h2 { font-size: 2.2rem; }
    .footer-bottom { flex-direction: column; gap: 20px; }
}