/* ============================================
   Vega & Company CPAs - Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
    --primary-navy: #1a3a5c;
    --primary-navy-dark: #0f2942;
    --primary-navy-light: #2a5a8c;
    --accent-orange: #e8a54b;
    --accent-orange-light: #f0b86a;
    --white: #ffffff;
    --cream: #faf9f7;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --text-primary: #2c3e50;
    --text-secondary: #5a6c7d;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, sans-serif;
    --shadow-sm: 0 1px 3px rgba(26, 58, 92, 0.08);
    --shadow-md: 0 4px 12px rgba(26, 58, 92, 0.1);
    --shadow-lg: 0 10px 30px rgba(26, 58, 92, 0.12);
    --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 1rem; line-height: 1.7; color: var(--text-primary); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-orange); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.3; color: var(--primary-navy); }
h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.875rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
p { margin-bottom: 1rem; color: var(--text-secondary); }
p:last-child { margin-bottom: 0; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

/* Language Switcher */
.lang-switcher {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
    background: var(--primary-navy-dark); padding: 0.5rem 2rem;
    display: flex; justify-content: flex-end; gap: 0.5rem;
}
.lang-btn {
    background: transparent; border: 1px solid rgba(255,255,255,0.3);
    color: var(--white); padding: 0.25rem 1rem; font-size: 0.8125rem;
    font-weight: 600; cursor: pointer; border-radius: 3px;
    text-decoration: none; transition: all 0.2s;
}
.lang-btn:hover, .lang-btn.active {
    background: var(--accent-orange); border-color: var(--accent-orange);
    color: var(--primary-navy-dark);
}

/* Header */
.header {
    position: fixed; top: 32px; left: 0; right: 0; z-index: 1000;
    background: var(--white); box-shadow: var(--shadow-sm);
}
.header-main {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 2rem; max-width: var(--max-width); margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 1rem; }
.logo img { height: 55px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; color: var(--primary-navy); line-height: 1.2; }
.logo-tagline { font-size: 0.75rem; color: var(--accent-orange); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; list-style: none; gap: 2rem; }
.nav-links > li { position: relative; display: flex; align-items: center; }
.nav-links a { font-size: 0.9375rem; font-weight: 500; color: var(--text-secondary); padding: 0.5rem 0; position: relative; display: inline-block; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent-orange); transition: width 0.25s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-navy); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Dropdown Menu */
.nav-links .dropdown { position: relative; }
.nav-links .dropdown > a { display: inline-flex; align-items: center; gap: 0.25rem; }
.nav-links .dropdown > a::after { display: none; }
.nav-links .dropdown > a .dropdown-arrow { display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; margin-left: 4px; transition: transform 0.2s; }
.nav-links .dropdown:hover > a .dropdown-arrow { transform: rotate(180deg); }
.dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--white); box-shadow: var(--shadow-lg); border-radius: 4px; padding: 0.5rem 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.2s ease; z-index: 100; }
.nav-links .dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { list-style: none; }
.dropdown-menu a { display: block; padding: 0.625rem 1.25rem; font-size: 0.875rem; color: var(--text-secondary); white-space: nowrap; }
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background: var(--cream); color: var(--primary-navy); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.menu-toggle span { width: 24px; height: 2px; background: var(--primary-navy); transition: all 0.2s; }

/* Hero */
.hero {
    min-height: 85vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
    margin-top: 112px; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 900px; padding: 3rem; }
.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero-subtitle { font-size: 1.25rem; color: rgba(255,255,255,0.9); max-width: 750px; margin: 0 auto 2rem; line-height: 1.8; }
.hero-credentials { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-bottom: 2rem; }
.credential-badge { display: flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.1); padding: 0.5rem 1.5rem; border-radius: 50px; border: 1px solid rgba(232, 165, 75, 0.4); }
.credential-badge svg { width: 20px; height: 20px; color: var(--accent-orange); }
.credential-badge span { color: rgba(255,255,255,0.95); font-size: 0.875rem; font-weight: 500; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
    padding: 6rem 2rem; margin-top: 112px; text-align: center; position: relative;
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.125rem; max-width: 650px; margin: 0 auto; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 1rem 2rem; font-family: var(--font-body); font-size: 0.9375rem;
    font-weight: 600; border-radius: 4px; border: 2px solid transparent;
    cursor: pointer; transition: all 0.25s; text-decoration: none;
}
.btn-primary { background: var(--accent-orange); color: var(--primary-navy-dark); border-color: var(--accent-orange); }
.btn-primary:hover { background: var(--accent-orange-light); border-color: var(--accent-orange-light); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: transparent; color: var(--white); border-color: var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--primary-navy); }
.btn-outline { background: transparent; color: var(--primary-navy); border-color: var(--primary-navy); }
.btn-outline:hover { background: var(--primary-navy); color: var(--white); }

/* Sections */
.section { padding: 6rem 2rem; }
.section-alt { background: var(--cream); }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 3rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.125rem; }
.accent-line { width: 60px; height: 3px; background: var(--accent-orange); margin: 1.5rem auto; }

/* Two Column */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.col-image { position: relative; }
.col-image img { border-radius: 8px; box-shadow: var(--shadow-lg); width: 100%; height: auto; display: block; }
.col-content h3 { margin-bottom: 1.5rem; }
.col-content p { margin-bottom: 1rem; }

/* Service Cards */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.service-card { background: var(--white); padding: 2rem; border-radius: 8px; box-shadow: var(--shadow-md); transition: all 0.25s; border: 1px solid var(--gray-200); border-top: 4px solid var(--accent-orange); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card h4 { margin-bottom: 1rem; color: var(--primary-navy); }
.service-card p { font-size: 0.9375rem; margin-bottom: 1.5rem; }
.service-card ul { list-style: none; }
.service-card li { padding: 0.5rem 0; padding-left: 1.5rem; position: relative; color: var(--text-secondary); font-size: 0.9375rem; border-bottom: 1px solid var(--gray-100); }
.service-card li:last-child { border-bottom: none; }
.service-card li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-orange); font-weight: 700; }

/* Profile */
.profile-section { display: grid; grid-template-columns: 350px 1fr; gap: 4rem; align-items: start; }
.profile-image { position: relative; }
.profile-image img { border-radius: 8px; box-shadow: var(--shadow-lg); width: 100%; }
.profile-content h3 { color: var(--primary-navy); margin-bottom: 1.5rem; }
.profile-content p { font-size: 1.0625rem; line-height: 1.8; }
.credentials-box { background: var(--cream); padding: 2rem; border-radius: 8px; margin-top: 2rem; border-left: 4px solid var(--accent-orange); }
.credentials-box h4 { margin-bottom: 1rem; color: var(--primary-navy); }
.credentials-box ul { list-style: none; }
.credentials-box li { padding: 0.5rem 0; padding-left: 1.5rem; position: relative; color: var(--text-secondary); }
.credentials-box li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-orange); font-weight: 700; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info { background: var(--cream); padding: 2rem; border-radius: 8px; }
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item:last-child { margin-bottom: 0; }
.contact-icon { width: 48px; height: 48px; background: var(--primary-navy); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 24px; height: 24px; color: var(--accent-orange); }
.contact-item-content h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.contact-item-content p, .contact-item-content a { font-size: 0.9375rem; }
.contact-form { background: var(--white); padding: 2rem; border-radius: 8px; box-shadow: var(--shadow-md); border: 1px solid var(--gray-200); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--text-primary); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 1rem; border: 1px solid var(--gray-300); border-radius: 4px; font-family: var(--font-body); font-size: 1rem; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-navy); box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1); }
.form-group textarea { min-height: 150px; resize: vertical; }
.map-container { margin-top: 4rem; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lg); }
.map-container iframe { width: 100%; height: 400px; border: none; }

/* Benefits Grid */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.benefit-card { background: var(--white); padding: 2rem; border-radius: 8px; box-shadow: var(--shadow-md); text-align: center; transition: all 0.25s; }
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit-icon { width: 64px; height: 64px; background: linear-gradient(135deg, var(--primary-navy), var(--primary-navy-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.benefit-icon svg { width: 32px; height: 32px; color: var(--accent-orange); }
.benefit-card h4 { margin-bottom: 0.5rem; }

/* Job Listing */
.job-listing { background: var(--white); border-radius: 8px; padding: 2rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-md); border-left: 4px solid var(--accent-orange); }
.job-listing h4 { margin-bottom: 0.5rem; }
.job-meta { display: flex; gap: 1.5rem; margin-bottom: 1rem; font-size: 0.875rem; color: var(--gray-600); }
.job-listing p { margin-bottom: 1rem; }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--primary-navy), var(--primary-navy-light)); padding: 6rem 2rem; text-align: center; }
.cta-content { max-width: 700px; margin: 0 auto; }
.cta-content h2 { color: var(--white); margin-bottom: 1rem; }
.cta-content p { color: rgba(255,255,255,0.85); font-size: 1.125rem; margin-bottom: 2rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--primary-navy-dark); color: rgba(255,255,255,0.85); padding-top: 6rem; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; max-width: var(--max-width); margin: 0 auto; padding: 0 2rem 4rem; }
.footer-brand h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); margin-bottom: 0.5rem; }
.footer-brand .tagline { color: var(--accent-orange); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.footer-brand p { font-size: 0.9375rem; line-height: 1.7; color: var(--gray-500); }
.footer-links h4 { color: var(--white); font-size: 1rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 1.5rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--gray-500); font-size: 0.9375rem; }
.footer-links a:hover { color: var(--accent-orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 2rem; text-align: center; }
.footer-bottom p { font-size: 0.875rem; color: var(--gray-600); margin: 0; }

/* Responsive */
@media (max-width: 1024px) {
    .two-col, .profile-section, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .two-col.reverse { direction: ltr; }
    .profile-image { max-width: 350px; margin: 0 auto; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .header { top: 32px; }
    .header-main { padding: 1rem; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 1.5rem; gap: 0; box-shadow: var(--shadow-lg); }
    .nav-links.active { display: flex; }
    .nav-links li { border-bottom: 1px solid var(--gray-200); }
    .nav-links li:last-child { border-bottom: none; }
    .nav-links a { display: block; padding: 1rem 0; }
    .menu-toggle { display: flex; }
    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .hero { min-height: 70vh; margin-top: 100px; }
    .hero-content { padding: 2rem; }
    .hero-credentials { flex-direction: column; align-items: center; }
    .page-hero { margin-top: 100px; padding: 4rem 1.5rem; }
    .section { padding: 4rem 1.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .logo-text { display: none; }
}
@media (max-width: 480px) {
    .logo img { height: 45px; }
    .btn { padding: 1rem 1.5rem; font-size: 0.875rem; }
    .hero-buttons, .cta-buttons { flex-direction: column; }
    .hero-buttons .btn, .cta-buttons .btn { width: 100%; }
}

.text-center { text-align: center; }
