:root {
    --blue-dark: #0a2a5e;
    --blue-mid: #14377a;
    --gold: #c8a952;
    --gold-light: #e8cc70;
    --gold-pale: #f7f0d9;
    --gray-900: #1a1a2e;
    --gray-700: #3d3d50;
    --gray-500: #6b7280;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow: 0 4px 20px rgba(0,0,0,.07);
    --shadow-lg: 0 20px 50px rgba(0,0,0,.1);
    --radius: 8px;
    --radius-lg: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { color: var(--gray-900); line-height: 1.25; }
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }

/* Header */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
}

.nav-container {
    display: flex; align-items: center; justify-content: space-between;
    height: 70px;
}

.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.3rem; color: var(--blue-dark); }

.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
    padding: 8px 16px; border-radius: 6px; font-weight: 500; font-size: .95rem;
    transition: all .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-dark); background: var(--gold-pale); }
.btn-nav { background: var(--gold); color: #1a1a2e !important; font-weight: 600; }
.btn-nav:hover { background: var(--gold-light) !important; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.menu-toggle span { width: 26px; height: 2px; background: var(--gray-900); border-radius: 2px; transition: .3s; }

/* Hero */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(160deg, #fafaf8 0%, #f0ede4 50%, #fafaf8 100%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.hero-location { font-size: .9rem; color: var(--gray-500); margin-bottom: 12px; }
.hero-title { margin-bottom: 16px; }
.hero-title .accent { display: block; color: var(--gold); }
.hero-text { font-size: 1.1rem; color: var(--gray-500); margin-bottom: 28px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-stats { display: flex; gap: 30px; }
.hero-stats .stat strong { display: block; font-size: 1.6rem; color: var(--blue-dark); }
.hero-stats .stat { font-size: .85rem; color: var(--gray-500); }

.hero-visual { position: relative; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.floating-badge {
    position: absolute; background: var(--white); padding: 16px 20px;
    border-radius: var(--radius); box-shadow: var(--shadow); text-align: center;
}
.badge-top { top: 8%; right: -20px; }
.badge-bottom { bottom: 8%; left: -20px; }
.badge-number { display: block; font-size: 1.5rem; font-weight: 800; color: var(--blue-dark); }
.badge-text { font-size: .8rem; color: var(--gray-500); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 26px; border-radius: 50px; font-weight: 600;
    font-size: .95rem; transition: all .25s; border: 2px solid transparent;
}
.btn-primary { background: var(--gold); color: #1a1a2e; border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(200,169,82,.35); }
.btn-secondary { border-color: var(--blue-dark); color: var(--blue-dark); }
.btn-secondary:hover { background: var(--blue-dark); color: var(--white); }

/* Sections */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag {
    display: inline-block; background: var(--gold-pale); color: #8b6914;
    padding: 6px 18px; border-radius: 50px; font-size: .8rem; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px;
}
.section-header p { color: var(--gray-500); margin-top: 8px; }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-card {
    background: var(--white); padding: 30px 26px; border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200); transition: all .3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.service-icon { font-size: 2rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p { font-size: .9rem; color: var(--gray-500); margin-bottom: 14px; }
.service-card a { font-weight: 600; color: var(--blue-dark); font-size: .9rem; }

/* About */
.about-preview { background: var(--gray-50); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image { position: relative; }
.about-image img { border-radius: var(--radius-lg); }
.exp-badge {
    position: absolute; bottom: -15px; right: -15px; background: var(--blue-dark);
    color: var(--gold); padding: 14px 20px; border-radius: var(--radius);
    font-weight: 700; font-size: .9rem; box-shadow: var(--shadow);
}
.about-numbers { display: flex; gap: 24px; margin: 20px 0; }
.about-numbers div strong { display: block; font-size: 1.4rem; color: var(--blue-dark); }
.about-numbers div { font-size: .85rem; color: var(--gray-500); }

/* Advantages */
.advantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.advantage-item {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 20px; border-radius: var(--radius); transition: .2s;
}
.advantage-item:hover { background: var(--gray-50); }
.adv-icon { font-size: 1.6rem; min-width: 40px; text-align: center; }
.advantage-item h4 { font-size: 1rem; margin-bottom: 3px; }
.advantage-item p { font-size: .85rem; color: var(--gray-500); }

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--blue-dark), #0d1f45);
    color: var(--white); text-align: center;
}
.cta-content h2 { color: var(--white); margin-bottom: 10px; }
.cta-content p { opacity: .85; margin-bottom: 24px; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* Page Header */
.page-header { padding: 120px 0 40px; background: var(--gray-50); text-align: center; }
.breadcrumb { font-size: .85rem; color: var(--gray-500); margin-bottom: 10px; }
.breadcrumb a { color: var(--blue-dark); }
.page-header p { color: var(--gray-500); margin-top: 6px; }

/* Contact Page */
.contact-page { padding: 50px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-details h2 { margin-bottom: 10px; }
.contact-details > p { color: var(--gray-500); margin-bottom: 24px; }

.detail-card {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 16px; border-radius: var(--radius); margin-bottom: 10px;
    transition: .2s;
}
.detail-card:hover { background: var(--gray-50); }
.detail-icon { font-size: 1.4rem; min-width: 32px; text-align: center; }
.detail-card strong { display: block; font-size: .9rem; color: var(--gray-900); margin-bottom: 2px; }
.detail-card p, .detail-card address { font-size: .9rem; color: var(--gray-500); font-style: normal; }

.contact-form-wrapper { background: var(--white); padding: 35px; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--gray-200); }
.contact-form h3 { margin-bottom: 5px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--gray-900); margin-bottom: 5px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-200);
    border-radius: var(--radius); font-size: .95rem; font-family: inherit;
    transition: .2s; background: var(--gray-50);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,169,82,.1);
    background: var(--white);
}
textarea { resize: vertical; min-height: 110px; }

.checkbox-group { margin-top: 8px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; cursor: pointer; }
.checkbox-label a { color: var(--blue-dark); text-decoration: underline; }
.checkbox-label input[type="checkbox"] { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--gold); }

.btn-submit { width: 100%; justify-content: center; margin-top: 10px; padding: 14px; font-size: 1rem; }

.map-section { padding-top: 0; }
.map-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-top: 16px; }

/* Footer */
.site-footer { background: var(--gray-900); color: #c0c0c8; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer-logo { font-size: 1.3rem; font-weight: 700; color: var(--white); }
.footer-col h4 { color: var(--white); font-size: .9rem; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: #a0a0aa; font-size: .9rem; transition: .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-col address { font-style: normal; font-size: .9rem; line-height: 1.8; }
.footer-bottom { border-top: 1px solid #2a2a3a; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .8rem; }

/* Mobile */
@media (max-width: 860px) {
    .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero { padding: 120px 0 50px; }
    .hero-visual { max-width: 400px; margin: 0 auto; }
    .badge-top { right: 0; } .badge-bottom { left: 0; }
    .form-row { grid-template-columns: 1fr; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: var(--white); flex-direction: column; padding: 90px 24px 30px;
        box-shadow: -5px 0 30px rgba(0,0,0,.1); transition: .3s;
    }
    .nav-links.active { right: 0; }
    .menu-toggle { display: flex; position: relative; z-index: 101; }
}

/* ========== About Detail Page ========== */
.about-detail { padding: 50px 0; }
.about-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.about-detail-image img { border-radius: var(--radius-lg); width: 100%; }
.about-detail-text h2 { margin-bottom: 16px; }
.about-detail-text p { margin-bottom: 14px; color: var(--gray-500); }
.about-values { margin-top: 24px; display: grid; gap: 16px; }
.value-item { padding: 16px; background: var(--gray-50); border-radius: var(--radius); border-left: 3px solid var(--gold); }
.value-item strong { display: block; margin-bottom: 4px; color: var(--gray-900); }
.value-item p { font-size: .9rem; margin-bottom: 0; }

/* Team */
.team-section { background: var(--gray-50); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.team-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 28px 22px;
    text-align: center; box-shadow: var(--shadow-sm); transition: .3s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-avatar { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.1rem; margin-bottom: 2px; }
.team-role { font-size: .85rem; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.team-bio { font-size: .85rem; color: var(--gray-500); }

/* Timeline */
.timeline { max-width: 700px; margin: 0 auto; position: relative; padding-left: 30px; }
.timeline::before {
    content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
    width: 2px; background: var(--gold);
}
.timeline-item { position: relative; padding: 10px 0 24px 30px; }
.timeline-item::before {
    content: ''; position: absolute; left: -26px; top: 18px;
    width: 12px; height: 12px; border-radius: 50%; background: var(--gold);
    border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--gold);
}
.timeline-year { font-size: .8rem; font-weight: 700; color: var(--gold); margin-bottom: 4px; }
.timeline-content h3 { font-size: 1rem; margin-bottom: 3px; }
.timeline-content p { font-size: .85rem; color: var(--gray-500); }

/* Service Detail */
.service-detail-section { padding: 70px 0; }
.service-detail-section.alt-bg { background: var(--gray-50); }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.service-detail-grid.reverse .service-detail-image { order: -1; }
.service-detail-image img { border-radius: var(--radius-lg); width: 100%; box-shadow: var(--shadow); }
.service-lead { font-size: 1.05rem; font-weight: 500; color: var(--gray-900); margin: 10px 0 16px; }
.service-list { margin: 16px 0 20px; }
.service-list li { padding: 6px 0 6px 24px; position: relative; font-size: .9rem; color: var(--gray-500); }
.service-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; text-align: center; }
.process-step { padding: 24px 16px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200); transition: .2s; }
.process-step:hover { border-color: var(--gold); }
.step-number { font-size: 2rem; font-weight: 800; color: var(--gold); margin-bottom: 8px; }
.process-step h3 { font-size: 1rem; margin-bottom: 5px; }
.process-step p { font-size: .85rem; color: var(--gray-500); }

/* Legal Pages */
.legal-content { padding: 40px 0 70px; }
.legal-container { max-width: 800px; }
.legal-container h2 { font-size: 1.3rem; margin: 28px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--gray-200); }
.legal-container p { margin-bottom: 12px; color: var(--gray-500); }
.legal-container ul { margin: 10px 0 16px 20px; }
.legal-container ul li { list-style: disc; margin-bottom: 6px; color: var(--gray-500); font-size: .95rem; }
.legal-container a { color: var(--blue-dark); text-decoration: underline; }

@media (max-width: 860px) {
    .about-detail-grid,
    .service-detail-grid { grid-template-columns: 1fr; }
    .service-detail-grid.reverse .service-detail-image { order: 0; }
    .team-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}