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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #10163f;
    background: #ffffff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(1320px, 94%);
    margin: 0 auto;
}


/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e8e9ef;
    box-shadow: 0 2px 12px rgba(8, 20, 66, 0.04);
}

.header-inner {
    min-height: 118px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    flex: 0 0 355px;
    width: 355px;
    overflow: hidden;
}

.brand-logo {
    width: 355px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transform: none;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    margin-left: auto;
}

.main-nav a {
    position: relative;
    padding: 44px 0 35px;
    color: #171717;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: #17149a;
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 28px;
    width: 100%;
    height: 3px;
    border-radius: 20px;
    background: #17149a;
}

.header-button {
    flex-shrink: 0;
    margin-left: 10px;
    padding: 16px 28px;
    border-radius: 8px;
    background: #17149a;
    color: #ffffff;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(23, 20, 154, 0.14);
}

.header-button:hover {
    background: #0d0b72;
}

.menu-button {
    display: none;
    border: 0;
    background: transparent;
    color: #11185e;
    font-size: 31px;
    cursor: pointer;
}


/* HERO */

.hero {
    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #ffffff 52%,
            #f6f7fb 100%
        );
}

.hero-grid {
    min-height: 575px;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 46px;
}

.hero-content {
    min-width: 0;
    padding: 52px 0;
}

.eyebrow {
    margin-bottom: 16px;
    color: #8a210f;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 24px;
    color: #081442;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 3.2vw, 56px);
    line-height: 1.07;
    letter-spacing: -0.8px;
}

.hero h1 span {
    display: block;
    color: #17149a;
}

.hero-text {
    max-width: 680px;
    margin-bottom: 28px;
    color: #35384a;
    font-size: 19px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 28px;
}

.button {
    display: inline-block;
    min-width: 170px;
    padding: 15px 25px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
}

.button-primary {
    background: #17149a;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(23, 20, 154, 0.14);
}

.button-primary:hover {
    background: #0d0b72;
}

.button-secondary {
    border: 2px solid #17149a;
    background: #ffffff;
    color: #17149a;
}

.button-secondary:hover {
    background: #f1f0ff;
}


/* REPRESENTATIVE NOTE */

.representative-note {
    max-width: 510px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 18px;
    border: 1px solid #e6e7ee;
    border-radius: 8px;
    background: #f7f7fa;
}

.representative-accent {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff7df;
    color: #d99600;
    font-size: 19px;
    font-weight: 700;
}

.representative-copy {
    display: flex;
    flex-direction: column;
}

.representative-copy strong {
    color: #081442;
    font-size: 16px;
}

.representative-copy span {
    color: #555866;
    font-size: 14px;
}


/* HERO IMAGE */

.hero-image-wrap {
    position: relative;
    min-width: 0;
}

.hero-image-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 9px;
    background: #f3f4f8;
    box-shadow: 0 14px 35px rgba(12, 20, 63, 0.09);
}

.hero-family-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-image-card {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 26px;
    padding: 19px 24px;
    border-radius: 10px;
    background: rgba(8, 20, 66, 0.95);
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.hero-image-card strong {
    display: block;
    margin-bottom: 4px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
}

.hero-image-card span {
    color: #f3c544;
}


/* HOW WE HELP */

.service-preview {
    padding: 62px 0 64px;
    border-top: 1px solid #ededf2;
    background: #f8f9fc;
}

.service-heading {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-label {
    margin-bottom: 10px;
    color: #8a210f;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.service-heading h2 {
    margin-bottom: 13px;
    color: #081442;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    line-height: 1.15;
}

.service-heading p {
    color: #555866;
    font-size: 17px;
    line-height: 1.7;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    min-height: 245px;
    padding: 28px 24px 24px;
    text-align: center;
    border: 1px solid #e5e6ee;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(12, 20, 63, 0.05);
}

.service-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #17149a;
    border-radius: 50%;
    color: #f0a500;
    font-size: 27px;
    font-weight: 700;
}

.service-card h3 {
    margin-bottom: 8px;
    color: #081442;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
}

.service-card p {
    color: #555866;
    font-size: 15px;
    line-height: 1.6;
}


/* ABOUT */

.about-section {
    padding: 82px 0;
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 70px;
}

.about-content {
    min-width: 0;
}

.about-content h2 {
    max-width: 620px;
    margin-bottom: 22px;
    color: #081442;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 3vw, 48px);
    line-height: 1.12;
}

.about-content > p:not(.section-label) {
    max-width: 640px;
    margin-bottom: 18px;
    color: #555866;
    font-size: 17px;
    line-height: 1.75;
}

.about-lead {
    color: #292d42 !important;
    font-size: 19px !important;
}

.about-button {
    margin-top: 10px;
}


/* ABOUT PANEL */

.about-panel {
    width: 100%;
    overflow: hidden;
    border: 1px solid #e3e5ed;
    border-radius: 16px;
    background: #f8f9fc;
    box-shadow: 0 18px 45px rgba(8, 20, 66, 0.08);
}

.about-panel-top {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 30px;
    background: #081442;
    color: #ffffff;
}

.about-panel-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff7df;
    color: #d99600;
    font-size: 24px;
    font-weight: 800;
}

.about-small-title {
    margin-bottom: 2px;
    color: #f3c544;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.about-panel-top h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1.2;
}


/* ABOUT ITEMS */

.about-focus-list {
    padding: 10px 30px;
}

.about-focus-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 21px 0;
    border-bottom: 1px solid #e1e3ea;
}

.about-focus-item:last-child {
    border-bottom: none;
}

.about-number {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #17149a;
    border-radius: 50%;
    background: #ffffff;
    color: #17149a;
    font-size: 13px;
    font-weight: 800;
}

.about-focus-item strong {
    display: block;
    margin-bottom: 3px;
    color: #081442;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
}

.about-focus-item p {
    color: #555866;
    font-size: 15px;
    line-height: 1.6;
}


/* ABOUT FOOTER */

.about-panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 19px 30px;
    border-top: 1px solid #e1e3ea;
    background: #ffffff;
}

.about-panel-footer strong {
    color: #081442;
    font-size: 15px;
}

.about-panel-footer span {
    color: #6a6d7b;
    font-size: 13px;
    text-align: right;
}

.section-anchor {
    scroll-margin-top: 120px;
}


/* LARGE SCREEN */

@media (min-width: 1400px) {

    .brand {
        flex-basis: 380px;
        width: 380px;
    }

    .brand-logo {
        width: 380px;
        transform: none;
    }
}


/* SMALL DESKTOP */

@media (max-width: 1180px) {

    .header-inner {
        gap: 20px;
    }

    .brand {
        flex-basis: 315px;
        width: 315px;
    }

    .brand-logo {
        width: 315px;
        transform: none;
    }

    .main-nav {
        gap: 22px;
    }

    .main-nav a {
        font-size: 15px;
    }

    .about-grid {
        gap: 44px;
    }
}


/* TABLET */

@media (max-width: 1000px) {

    .container {
        width: min(92%, 860px);
    }

    .header-inner {
        min-height: 88px;
    }

    .brand {
        flex-basis: 290px;
        width: 290px;
    }

    .brand-logo {
        width: 290px;
        transform: none;
    }

    .main-nav,
    .header-button {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 52px 0 38px;
    }

    .hero-image-container {
        height: 430px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .about-content > p:not(.section-label) {
        max-width: 760px;
    }
}


/* PHONE */

@media (max-width: 620px) {

    .container {
        width: min(92%, 520px);
    }

    .header-inner {
        min-height: 78px;
    }

    .brand {
        flex-basis: 240px;
        width: 240px;
    }

    .brand-logo {
        width: 240px;
        transform: none;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-text {
        font-size: 17px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-image-container {
        height: 330px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .about-section {
        padding: 56px 0;
    }

    .about-content h2 {
        font-size: 34px;
    }

    .about-panel-top {
        padding: 24px 20px;
    }

    .about-focus-list {
        padding: 6px 20px;
    }

    .about-panel-footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 20px;
    }

    .about-panel-footer span {
        text-align: left;
    }
}