/* 
    Premium Swiss Fiduciary Theme 
    Colors: Navy Blue, Champagne Gold, Pristine White
*/
:root {
    --primary-navy: #0B1B3D;
    --primary-navy-light: #162B59;
    --accent-gold: #C5A880;
    --accent-gold-hover: #b3946a;
    --bg-white: #ffffff;
    --bg-offwhite: #F8F9FA;
    --text-dark: #222222;
    --text-gray: #666666;
    --text-light: #ffffff;
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
    
    --transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); color: var(--primary-navy); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Animations */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

/* Top Bar */
.top-bar {
    background-color: var(--primary-navy);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.divider { margin: 0 10px; color: var(--accent-gold); }
.lang-btn {
    background: transparent; border: none; color: rgba(255,255,255,0.6);
    cursor: pointer; font-family: var(--font-sans); font-size: 0.85rem;
    margin-left: 10px; transition: var(--transition);
}
.lang-btn:hover, .lang-btn.active { color: var(--accent-gold); }

/* Main Navbar */
.navbar {
    background: var(--bg-white); padding: 1.5rem 0;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: padding 0.3s ease;
}
.navbar.scrolled { padding: 1rem 0; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { text-decoration: none; display: block; }
.logo-text { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--primary-navy); }
.logo-accent { color: var(--accent-gold); font-size: 1.8rem; }
.logo-light { font-weight: 400; color: var(--text-gray); }

nav {
    display: flex;
    align-items: center;
}

nav a {
    display: inline-block;
    text-decoration: none; color: var(--primary-navy);
    font-family: var(--font-sans); font-size: 0.95rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; margin-left: 1.5rem;
    transition: var(--transition);
}
nav a:hover, nav a.active { color: var(--accent-gold); }

nav a.nav-cta {
    background-color: var(--accent-gold);
    color: var(--bg-white);
    padding: 0.6rem 1.2rem;
    margin-left: 2rem;
}
nav a.nav-cta:hover {
    background-color: var(--accent-gold-hover);
    color: var(--bg-white);
}

/* Hero Sections */
.hero {
    height: 85vh; min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1530122037265-a5f1f91d3b99?q=80&w=2000&auto=format&fit=crop');
    background-size: cover; background-position: center; position: relative; display: flex; align-items: center;
}
.subpage-hero {
    height: 40vh; min-height: 350px; background-size: cover; background-position: center;
    position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(11, 27, 61, 0.9) 0%, rgba(11, 27, 61, 0.4) 100%);
}
.subpage-hero .hero-overlay { background: rgba(11, 27, 61, 0.7); }
.hero-content, .subpage-hero-content { position: relative; z-index: 1; }
.hero-content { max-width: 700px; }
.hero h1, .subpage-hero h1 { color: var(--text-light); font-size: 3.5rem; line-height: 1.1; margin-bottom: 1.5rem; font-weight: 600; }
.subpage-hero h1 { margin-bottom: 0.5rem; }
.hero p, .subpage-hero p { color: var(--bg-offwhite); font-size: 1.1rem; margin-bottom: 2.5rem; line-height: 1.8; }
.subpage-hero p { margin-bottom: 0; max-width: 600px; margin: 0 auto; }

.cta-button {
    display: inline-block; background-color: var(--accent-gold); color: var(--bg-white);
    text-decoration: none; padding: 1rem 2.5rem; font-family: var(--font-sans);
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border: none; cursor: pointer; transition: var(--transition);
}
.cta-button:hover { background-color: var(--accent-gold-hover); }

/* Trust Metrics Bar */
.metrics-bar {
    background-color: var(--primary-navy-light);
    color: var(--text-light);
    padding: 4rem 0;
    margin-top: -2rem; /* Pull up slightly over hero if desired, or just sit below */
}
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 2rem;
}
.metric-item {
    border-right: 1px solid rgba(255,255,255,0.1);
}
.metric-item:last-child {
    border-right: none;
}
.metric-val {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}
.metric-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Sections General */
section { padding: 6rem 0; }
.section-bg { background-color: var(--bg-offwhite); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title { font-size: 2.2rem; margin-bottom: 1rem; }
.title-separator { width: 60px; height: 2px; background-color: var(--accent-gold); margin: 0 auto; }
.title-separator-left { width: 60px; height: 2px; background-color: var(--accent-gold); margin: 1rem 0 2rem 0; }

/* Services Section */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.service-card {
    background: var(--bg-white); padding: 3rem 2rem; text-align: center; border: 1px solid #eaeaea; transition: var(--transition);
}
.service-card:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.05); transform: translateY(-5px); border-color: var(--accent-gold); }
.service-number { font-family: var(--font-serif); font-size: 2.5rem; color: var(--accent-gold); margin-bottom: 1.5rem; line-height: 1; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.service-card p { color: var(--text-gray); font-size: 0.95rem; }

/* Why Switzerland Section */
.why-swiss {
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=2000&auto=format&fit=crop');
    background-size: cover; background-attachment: fixed; background-position: center; position: relative; padding: 8rem 0;
}
.why-swiss::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(11, 27, 61, 0.85); }
.why-content { position: relative; z-index: 1; max-width: 600px; }
.why-swiss h2, .why-swiss p { color: var(--text-light); }
.why-swiss p { font-size: 1.1rem; line-height: 1.8; }

/* About Section */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text p { color: var(--text-gray); font-size: 1.1rem; margin-bottom: 1rem; }
.about-image-wrapper {
    height: 400px; background-image: url('https://images.unsplash.com/photo-1554469384-e58fac16e23a?q=80&w=1000&auto=format&fit=crop');
    background-size: cover; background-position: center; position: relative; box-shadow: 20px 20px 0 var(--accent-gold);
}

/* Team Section */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.team-card { text-align: center; }
.team-monogram {
    width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--accent-gold); color: var(--primary-navy); font-family: var(--font-serif); font-size: 2.5rem; font-weight: 700;
    background-color: var(--bg-white); letter-spacing: 2px; box-shadow: inset 0 0 0 6px var(--bg-offwhite); transition: var(--transition);
}
.team-card:hover .team-monogram { background-color: var(--primary-navy); color: var(--accent-gold); border-color: var(--primary-navy); box-shadow: inset 0 0 0 2px var(--accent-gold); }
.team-card h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.team-card .role { font-size: 0.85rem; color: var(--accent-gold); text-transform: uppercase; font-weight: 700; margin-bottom: 1rem; letter-spacing: 1px; }
.team-card .desc { font-size: 0.9rem; color: var(--text-gray); }

/* Testimonials Section */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.testimonial-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border: 1px solid #eaeaea;
    border-top: 4px solid var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}
.test-quote {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.test-author {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Insights & Articles Grid */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}
.article-card {
    background: var(--bg-white);
    border: 1px solid #eaeaea;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}
.article-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}
.article-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.article-meta {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}
.article-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}
.article-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex: 1;
}
.article-link {
    text-decoration: none;
    color: var(--primary-navy);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--accent-gold);
    display: inline-block;
    padding-bottom: 2px;
    align-self: flex-start;
}

/* Track Record (Case Studies) */
.track-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}
.case-card {
    background: var(--bg-white);
    padding: 3rem;
    border-left: 4px solid var(--accent-gold);
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}
.case-tags {
    display: inline-block;
    background: var(--bg-offwhite);
    color: var(--primary-navy);
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.case-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}
.case-card p {
    color: var(--text-gray);
    font-size: 1.05rem;
}

/* Contact Form */
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; }
.contact-info-block h3 { margin-bottom: 1rem; }
.contact-info-block p { color: var(--text-gray); margin-bottom: 2rem; }
.contact-form { background: var(--bg-white); padding: 3rem; border: 1px solid #eaeaea; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.form-group { margin-bottom: 1.5rem; }
.form-group input, .form-group textarea { width: 100%; padding: 1rem; border: 1px solid #ddd; background: var(--bg-offwhite); font-family: var(--font-sans); font-size: 1rem; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-gold); background: var(--bg-white); }
.form-group textarea { height: 150px; resize: vertical; }

/* Footer */
footer { background-color: var(--primary-navy); color: var(--bg-offwhite); padding-top: 5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.logo-footer { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; }
.footer-col h4 { color: var(--accent-gold); font-family: var(--font-sans); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.5rem; }
.footer-col p, .footer-col a { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 0.8rem; text-decoration: none; display: block; transition: var(--transition); }
.footer-col a:hover { color: var(--accent-gold); }
.footer-bottom { background-color: var(--primary-navy-light); padding: 1.5rem 0; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* Responsive */
@media (max-width: 900px) {
    .metrics-grid { grid-template-columns: 1fr 1fr; }
    .metric-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 2rem; }
    .metric-item:nth-child(3), .metric-item:nth-child(4) { padding-bottom: 0; border-bottom: none; }
}
@media (max-width: 768px) {
    .nav-inner { flex-direction: column; gap: 1rem; }
    nav { flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
    nav a { margin: 0 0.5rem; font-size: 0.85rem;}
    nav a.nav-cta { margin: 0.5rem auto 0; }
    .hero h1 { font-size: 2.5rem; }
    .about-grid, .footer-grid, .contact-grid { grid-template-columns: 1fr; }
    .title-separator-left { margin: 1rem auto 2rem auto; }
    .why-content { text-align: center; }
    .contact-form { padding: 1.5rem; }
    .metrics-grid { grid-template-columns: 1fr; }
    .metric-item { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 2rem; margin-bottom: 2rem; }
    .metric-item:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0;}
}
