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

html { font-size: 16px; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #2c2c2c;
    background: #f5f5f5;
    line-height: 1.6;
}

a { color: #1a2a3c; text-decoration: none; }
a:hover { color: #3a5a7c; }

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

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo { font-size: 1.15rem; font-weight: 700; color: #1a2a3c; letter-spacing: -0.01em; }
.logo span { font-weight: 400; color: #7a8a9a; }
.main-nav { display: flex; gap: 28px; }
.main-nav a {
    font-size: 0.85rem;
    font-weight: 500;
    color: #3a4a5a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active { color: #1a2a3c; border-bottom-color: #1a2a3c; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: #1a2a3c; }

/* Hero */
.hero {
    background: #1a2a3c;
    color: #fff;
    padding: 100px 0;
}
.hero h1 {
    font-size: 2.4rem;
    font-weight: 300;
    line-height: 1.25;
    margin-bottom: 20px;
    max-width: 740px;
}
.hero p {
    font-size: 1.05rem;
    color: #9aabb8;
    max-width: 560px;
    margin-bottom: 32px;
    line-height: 1.75;
}
.btn {
    display: inline-block;
    padding: 11px 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all 0.15s;
    border: 0;
    cursor: pointer;
}
.btn-primary { background: #1a2a3c; color: #fff; }
.btn-primary:hover { background: #2a3a4c; }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.btn-outline:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); }

.hero .btn-primary { background: #fff; color: #1a2a3c; }
.hero .btn-primary:hover { background: #e8e8e8; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: #fff; }
.section-dark { background: #1a2a3c; color: #fff; }
.section h2 {
    font-size: 1.6rem;
    font-weight: 400;
    color: #1a2a3c;
    margin-bottom: 10px;
}
.section-dark h2 { color: #fff; }
.section-subtitle {
    font-size: 0.9rem;
    color: #6a7a8a;
    margin-bottom: 44px;
    max-width: 600px;
}
.section-dark .section-subtitle { color: #8a9baa; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; border-right: 1px solid #ddd; padding: 12px 0; }
.stat-item:last-child { border-right: 0; }
.stat-number { font-size: 2rem; font-weight: 600; color: #1a2a3c; }
.stat-label { font-size: 0.8rem; color: #6a7a8a; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.06em; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
    background: #fff;
    padding: 32px 24px;
    border: 1px solid #e5e5e5;
}
.service-card:hover { border-color: #1a2a3c; }
.service-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: #1a2a3c; }
.service-card p { font-size: 0.88rem; color: #5a6a7a; line-height: 1.7; }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.value-item { }
.value-item h4 { font-size: 0.9rem; font-weight: 600; color: #1a2a3c; margin: 6px 0 4px; }
.value-item p { font-size: 0.83rem; color: #5a6a7a; }

/* About preview on homepage */
.about-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-preview p { font-size: 0.9rem; color: #3a4a5a; line-height: 1.8; margin-bottom: 14px; }
.about-preview .meta { font-size: 0.82rem; color: #7a8a9a; margin-top: 16px; }

/* News */
.news-list { }
.news-item {
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}
.news-item:first-child { padding-top: 0; }
.news-date { font-size: 0.78rem; color: #7a8a9a; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.news-item h3 { font-size: 1rem; font-weight: 600; margin: 4px 0 6px; }
.news-item h3 a { color: #1a2a3c; }
.news-item h3 a:hover { color: #3a5a7c; }
.news-item p { font-size: 0.88rem; color: #5a6a7a; }

/* Image placeholders */
.img-placeholder {
    background: #e8ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6a7a8a;
    font-size: 0.83rem;
    overflow: hidden;
    position: relative;
}
.img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-img {
    height: 100%;
    min-height: 320px;
}
.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section-img {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
}
.section-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h3 { font-size: 1rem; font-weight: 600; color: #1a2a3c; margin-bottom: 3px; }
.contact-info p { font-size: 0.9rem; color: #4a5a6a; margin-bottom: 18px; }
.contact-info .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7a8a9a;
    margin-bottom: 2px;
    font-weight: 600;
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 0.83rem; font-weight: 500; color: #3a4a5a; margin-bottom: 4px; }
.form-row input, .form-row textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.9rem;
    font-family: inherit;
    border: 1px solid #ccc;
    background: #fff;
    transition: border-color 0.15s;
    border-radius: 0;
}
.form-row input:focus, .form-row textarea:focus { outline: 0; border-color: #1a2a3c; }
.form-row textarea { min-height: 120px; resize: vertical; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 28px 20px;
    text-align: center;
}
.team-card .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e8edf2;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #5a6a7a;
    font-weight: 600;
}
.team-card h3 { font-size: 0.95rem; font-weight: 600; color: #1a2a3c; }
.team-card .role { font-size: 0.83rem; color: #6a7a8a; margin: 2px 0 8px; }
.team-card p { font-size: 0.83rem; color: #5a6a7a; }

/* Timeline */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background: #ccc;
}
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1a2a3c;
    border: 2px solid #f5f5f5;
}
.timeline-year { font-size: 0.78rem; font-weight: 600; color: #1a2a3c; text-transform: uppercase; letter-spacing: 0.06em; }
.timeline-item h3 { font-size: 1rem; font-weight: 600; margin: 2px 0 4px; color: #1a2a3c; }
.timeline-item p { font-size: 0.9rem; color: #5a6a7a; }

/* Page header */
.page-header {
    background: #1a2a3c;
    color: #fff;
    padding: 56px 0 48px;
}
.page-header h1 { font-size: 1.8rem; font-weight: 300; }
.page-header p { color: #8a9baa; margin-top: 6px; font-size: 0.9rem; }
.breadcrumb { font-size: 0.78rem; color: #6a7a8c; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.breadcrumb a { color: #8a9baa; }
.breadcrumb a:hover { color: #fff; }

/* Footer */
.site-footer {
    background: #1a2a3c;
    color: #9aabb8;
    padding: 48px 0 28px;
    font-size: 0.83rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: #fff; font-size: 0.85rem; font-weight: 600; margin-bottom: 12px; }
.footer-grid a { display: block; color: #7a8a9a; margin-bottom: 6px; }
.footer-grid a:hover { color: #fff; }
.footer-grid p { line-height: 1.7; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 36px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.78rem;
    color: #5a6a7a;
}

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }

/* Tables */
.info-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.info-table td { padding: 8px 12px; border-bottom: 1px solid #e5e5e5; }
.info-table td:first-child { color: #6a7a8a; width: 40%; }

/* Mobile */
@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid #ddd;
        padding: 8px 24px 16px;
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 10px 0; border-top: 1px solid #eee; border-bottom: 0; }
    .main-nav a:hover, .main-nav a.active { border-bottom: 0; }
    .stats-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid .stat-item:nth-child(2) { border-right: 0; }
    .services-grid, .team-grid { grid-template-columns: 1fr; }
    .about-preview, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 1.7rem; }
    .hero { padding: 64px 0; }
    .hero .container { grid-template-columns: 1fr !important; }
    .hero .img-placeholder { display: none; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
    .stats-grid, .values-grid, .footer-grid, .steps-grid { grid-template-columns: 1fr; }
    .stats-grid .stat-item { border-right: 0; }
}
