html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Roboto", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", BlinkMacSystemFont, -apple-system, "Segoe UI", "Microsoft Yahei", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    color: #1a1a1a;
    background: #fff;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover,
a:focus {
    color: #1d4ed8;
}

h1,
h2,
h3 {
    margin: 0 0 0.75em;
    font-weight: 600;
    letter-spacing: 0.02em;
}

p {
    font-size: 16px;
    line-height: 1.75;
    margin: 0 0 1em;
    color: #333;
}

.index-hero {
    background: #f1f6fd;
    padding: 80px 20px 64px;
    text-align: center;
}

.index-hero-inner {
    max-width: 960px;
    margin: 0 auto;
}

.index-hero h1 {
    font-size: 42px;
    line-height: 1.3;
    color: #171347;
    margin-bottom: 28px;
}

.index-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.btn-admin-login,
.btn-official-link {
    display: inline-block;
    padding: 12px 36px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.btn-admin-login {
    color: #fff !important;
    background: #4080c0;
}

.btn-admin-login:hover,
.btn-admin-login:focus {
    color: #fff !important;
    background: #3570ad;
}

.btn-official-link {
    color: #4080c0 !important;
    background: #fff;
    border: 1px solid #4080c0;
}

.btn-official-link:hover,
.btn-official-link:focus {
    color: #fff !important;
    background: #4080c0;
}

.index-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 20px 64px;
}

.index-section {
    margin-bottom: 56px;
}

.index-section h2 {
    font-size: 28px;
    color: #111;
    margin-bottom: 20px;
}

.index-about p:last-child {
    margin-bottom: 0;
}

.index-contact-intro {
    font-size: 17px;
}

.index-contact-hours {
    color: #555;
    margin-bottom: 32px;
}

.index-contact-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.index-contact-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.index-contact-card-link:hover {
    background: #ebebeb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.index-contact-card-link:hover h3,
.index-contact-card-link:hover p {
    color: #2563eb;
}

.index-contact-card {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 24px 12px;
    text-align: center;
    min-width: 0;
}

.index-contact-icon {
    color: #111;
    margin-bottom: 12px;
}

.index-contact-icon svg {
    width: 28px;
    height: 28px;
}

.index-contact-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
    color: #111;
}

.index-contact-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    word-break: break-word;
}

.index-contact-card a {
    color: #111;
    font-weight: 500;
}

.index-contact-card a:hover {
    color: #2563eb;
}

.index-region-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.index-region-list li {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 18px 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.region-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

.region-north { background: #e879a9; }
.region-east { background: #f5c518; }
.region-central { background: #4ade80; }
.region-south { background: #60a5fa; }
.region-west { background: #a78bfa; }
.region-strategy { background: #a16207; }

.footer {
    background-color: #222;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
}

.footer .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer p {
    font-size: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}

.footer-copy {
    margin-bottom: 8px;
}

.footer-beian {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.footer-beian-icon {
    display: inline-block;
    vertical-align: middle;
}

.footer a {
    color: rgba(255, 255, 255, 0.85);
}

.footer a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .index-contact-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .index-region-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .index-contact-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .index-hero {
        padding: 56px 16px 40px;
    }

    .index-hero h1 {
        font-size: 28px;
    }

    .index-main {
        padding: 32px 16px 48px;
    }

    .index-section h2 {
        font-size: 22px;
    }
}
