* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #ffffff;
}

a {
    color: inherit;
}


/* GENERAL LAYOUT */

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

.section {
    padding: 90px 0;
}

.section-alt {
    background: #f7f9fc;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 45px;
}

.section-heading h2,
.contact-intro h2 {
    margin: 8px 0 16px;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.2;
    color: #102a43;
}

.eyebrow {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #486581;
}


/* HEADER */

.site-header {
    background: #102a43;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
}

nav a:hover,
nav a:focus {
    text-decoration: underline;
}


/* HERO */

.hero {
    min-height: 610px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            135deg,
            #f4f8fc 0%,
            #ffffff 65%
        );
}

.hero-content {
    max-width: 900px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero h1 {
    margin: 15px 0 22px;
    max-width: 850px;
    font-size: clamp(2.8rem, 7vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #102a43;
}

.hero-text {
    max-width: 700px;
    margin-bottom: 32px;
    font-size: 1.15rem;
    color: #52667a;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* BUTTONS */

.button {
    display: inline-block;
    border-radius: 8px;
    padding: 13px 22px;
    border: 1px solid transparent;
    text-decoration: none;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.button-primary {
    background: #102a43;
    color: white;
}

.button-primary:hover,
.button-primary:focus {
    background: #243f59;
}

.button-secondary {
    border-color: #c9d6e2;
    background: white;
    color: #102a43;
}

.button-secondary:hover,
.button-secondary:focus {
    background: #f4f7fa;
}


/* ABOUT */

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-grid p {
    font-size: 1.05rem;
}

.feature-card {
    padding: 30px;
    border: 1px solid #dce6ef;
    border-radius: 14px;
    background: #ffffff;
}

.feature-card h3 {
    margin-top: 0;
    color: #102a43;
}

.feature-list {
    margin: 0;
    padding-left: 20px;
}

.feature-list li {
    margin: 8px 0;
}


/* SERVICES */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.service-card {
    padding: 30px;
    border: 1px solid #dce6ef;
    border-radius: 14px;
    background: white;
}

.service-card h3 {
    margin: 10px 0;
    color: #102a43;
}

.service-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: #35506b;
}


/* CONTACT */

.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: start;
}

.contact-intro p {
    max-width: 440px;
}

.contact-note {
    color: #627d98;
}

.contact-card {
    padding: 35px;
    border-radius: 16px;
    border: 1px solid #dce6ef;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(16, 42, 67, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    color: #243b53;
}

input,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #bcccdc;
    border-radius: 7px;
    background: white;
    color: #1f2937;
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: 3px solid rgba(72, 101, 129, 0.18);
    border-color: #486581;
}

.cf-turnstile {
    margin: 20px 0;
}

.submit-button {
    width: 100%;
    margin-top: 5px;
}

#form-status {
    min-height: 24px;
    margin-bottom: 0;
    font-weight: 600;
}

.privacy-notice {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e4e7eb;
    font-size: 0.82rem;
    color: #627d98;
}


/* FOOTER */

.site-footer {
    padding: 35px 0;
    background: #102a43;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-content p {
    margin: 0;
}
.text-link {
    display: inline-block;
    margin-top: 10px;
    color: #102a43;
    font-weight: 700;
    text-decoration: none;
}

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

/* MOBILE */

@media (max-width: 768px) {

    .nav-container {
        flex-direction: column;
        justify-content: center;
        padding: 15px 0;
    }

    nav {
        gap: 18px;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .section {
        padding: 65px 0;
    }

    .about-grid,
    .services-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .about-grid,
    .contact-layout {
        gap: 35px;
    }

    .contact-card {
        padding: 24px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

}


@media (max-width: 480px) {

    nav {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    nav a {
        font-size: 0.9rem;
    }

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

    .button {
        width: 100%;
        text-align: center;
    }

}