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

body {
    font-family: Arial, sans-serif;
    background: #f3f4f6;
    color: #1f2933;
}

a {
    text-decoration: none;
}

.top-header {
    background: #ffffff;
    padding: 18px 24px 10px;
    border-bottom: 1px solid #d9dde3;
}

.top-header-inner {
    max-width: 1400px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}

.brand-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
}

.header-logo-link {
    display: inline-block;
    line-height: 0;
}

.site-logo {
    width: 260px;
    max-width: 100%;
    height: auto;
    display: block;
}

.brand-text p {
    color: #5d6b79;
    font-size: 0.98rem;
    line-height: 1.2;
    white-space: nowrap;
    margin-left: 4px;
    margin-top: 0;
}

.header-contact {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    padding-top: 0;
    padding-bottom: 2px;
}

.cert-line {
    font-size: 0.88rem;
    margin-bottom: 10px;
    color: #556270;
    text-align: right;
    white-space: nowrap;
    line-height: 1.2;
}

.contact-links {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.phone-button,
.facebook-button,
.primary-button,
.secondary-button {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.phone-button,
.primary-button {
    background: #0b79d0;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(11, 121, 208, 0.18);
}

.phone-button:hover,
.primary-button:hover {
    background: #096ab7;
    transform: translateY(-1px);
}

.facebook-button,
.secondary-button {
    background: #4c4c4c;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.facebook-button:hover,
.secondary-button:hover {
    background: #3e3e3e;
    transform: translateY(-1px);
}

.main-nav {
    background: #5c5c5c;
    border-top: 1px solid #707070;
    border-bottom: 1px solid #4c4c4c;
}

.main-nav-inner {
    max-width: 1400px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
}

.main-nav a {
    color: #ffffff;
    padding: 16px 26px;
    font-weight: 700;
    font-size: 1.02rem;
}

.main-nav a:hover,
.main-nav a.active {
    background: #0b79d0;
}

.page-wrap {
    max-width: 1400px;
    margin: 34px auto;
    padding: 0 20px;
}

.hero-home {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    padding: 48px;
    display: flex;
    align-items: center;
    gap: 44px;
    margin-bottom: 30px;
    border: 1px solid #dde5ee;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.hero-home-text {
    flex: 1;
}

.hero-home-text h2 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 18px;
    color: #16202a;
}

.hero-home-text p {
    font-size: 1.22rem;
    margin-bottom: 28px;
    line-height: 1.7;
    color: #44515f;
    max-width: 700px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 8px;
}

.hero-home-image {
    flex: 1;
    text-align: center;
}

.hero-home-image img {
    max-width: 420px;
    width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.12));
}

.content-box {
    background: #ffffff;
    padding: 34px 34px 28px;
    margin-bottom: 26px;
    border: 1px solid #dde4ec;
    border-left: 6px solid #0b79d0;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.05);
}

.content-box h2,
.content-box h3 {
    margin-bottom: 18px;
    color: #16202a;
    line-height: 1.2;
}

.content-box h2 {
    font-size: 2.2rem;
}

.content-box h3 {
    font-size: 1.9rem;
}

.content-box p,
.content-box li {
    font-size: 1.12rem;
    line-height: 1.8;
    color: #334150;
}

.content-box ul {
    padding-left: 26px;
    margin-top: 6px;
}

.content-box li {
    margin-bottom: 8px;
}

.content-box p + p {
    margin-top: 14px;
}

.content-box p:last-child,
.content-box ul:last-child {
    margin-bottom: 0;
}

.content-box .primary-button,
.content-box .secondary-button {
    margin-top: 16px;
    margin-right: 10px;
}

.two-column-row {
    display: flex;
    gap: 25px;
}

.two-column-row .content-box {
    flex: 1;
}

.text-link {
    color: #0b79d0;
    font-weight: 700;
}

.text-link:hover {
    text-decoration: underline;
}

@media (max-width: 1100px) {
    .top-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-contact {
        align-items: flex-start;
        padding-bottom: 0;
    }

    .cert-line,
    .contact-links {
        text-align: left;
        justify-content: flex-start;
        white-space: normal;
    }

    .brand-text p {
        white-space: normal;
        margin-left: 0;
    }

    .hero-home,
    .two-column-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-home {
        padding: 34px 26px;
    }

    .hero-home-text h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 700px) {
    .top-header {
        padding: 12px 16px 8px;
    }

    .site-logo {
        width: 210px;
    }

    .main-nav a {
        padding: 16px 18px;
        font-size: 0.98rem;
    }

    .page-wrap {
        padding: 0 12px;
    }

    .content-box {
        padding: 26px 22px 24px;
    }

    .hero-home-text h2 {
        font-size: 2rem;
    }

    .hero-buttons,
    .contact-links {
        flex-wrap: wrap;
    }
}
