body {
    font-family: Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

.topwork-container {
    width: 90%;
    max-width: 1280px;
}

.topwork-header {
    height: 80px;
    background: #fff;
}

.topwork-header img.logo {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
    padding: 20px 0;
}

.topwork-tagline {
    margin: 30px 0 0;
    color: #f03756;
    font-weight: 700;
    text-align: right;
    text-transform: uppercase;
}

.topwork-hero-image {
    min-height: 850px;
    background: url('../assets/img/hero.jpg') no-repeat center / cover;
}

.topwork-hero-copy {
    padding-top: 240px;
    padding-bottom: 150px;
    color: #fff;
    font-family: Montserrat, sans-serif;
}

.topwork-hero-copy .pf {
    width: fit-content;
    max-width: 100%;
    margin: 0 0 24px;
    font-size: clamp(2.5rem, 4vw, 4.21875rem);
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
}

.topwork-hero-copy .df {
    display: block;
    position: relative;
    padding: 5px;
    background: #004a99;
}

.topwork-hero-copy .df::after,
.topwork-hero-copy .df::before,
.topwork-hero-copy .ss::after,
.topwork-hero-copy .ss::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: url('../assets/img/bracket.png') no-repeat center top / contain;
}

.topwork-hero-copy .df::after {
    top: -15px;
    right: -15px;
    transform: rotate(270deg);
}

.topwork-hero-copy .df::before {
    right: -15px;
    bottom: -15px;
}

.topwork-hero-copy .ss::after {
    bottom: -15px;
    left: -15px;
    transform: rotate(90deg);
}

.topwork-hero-copy .ss::before {
    top: -15px;
    left: -15px;
    transform: rotate(180deg);
}

.topwork-hero-copy .ps {
    margin: 0;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 1.5px;
}

.topwork-footer {
    background: #004a99;
    color: #fff;
    font-size: 16px;
}

.topwork-footer a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.topwork-footer p {
    margin: 0 0 0 35px;
}

.topwork-footer .contact-c,
.topwork-footer .contact-t,
.topwork-footer .contact-e {
    margin-bottom: 40px;
}

.topwork-footer .contact-c p:first-child,
.topwork-footer .contact-t p:first-child,
.topwork-footer .contact-e p:first-child {
    margin-top: 50px;
    margin-left: 10px;
    font-family: Montserrat, sans-serif;
    text-transform: uppercase;
}

.topwork-footer .about {
    margin: 50px 0 30px;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
}

.contact-icon {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    vertical-align: -2px;
    fill: currentColor;
}

a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.wpcf7 {
    max-width: none;
    margin: 0;
}

.topwork-contact {
    padding: 80px 0;
    background: #f5f6fa;
    color: #102d69;
    font-family: Montserrat, sans-serif;
}

.topwork-contact-inner {
    max-width: 860px;
    margin: 0 auto;
}

.topwork-contact h2 {
    margin: 0 0 16px;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
}

.topwork-contact-note,
.topwork-privacy {
    font-size: 14px;
}

.topwork-contact-note { margin-bottom: 32px; }
.topwork-field { margin-bottom: 24px; }
.topwork-field label { display: block; margin-bottom: 8px; font-weight: 700; }
.topwork-field .wpcf7-form-control-wrap { display: block; }

.topwork-contact .topwork-field input,
.topwork-contact .topwork-field textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #818da8;
    border-radius: 4px;
    background: #fff;
    color: #18233b;
    font: inherit;
}

.topwork-field textarea { resize: vertical; }
.topwork-privacy .wpcf7-list-item { margin: 0; }
.topwork-privacy label { display: flex; align-items: flex-start; gap: 10px; }
.topwork-privacy input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: #004a99; }
.topwork-privacy a { color: #004a99; text-decoration: underline; }
.topwork-submit { display: flex; align-items: center; margin-top: 28px; }

.wpcf7 .topwork-contact input.topwork-contact-submit {
    min-height: 48px;
    padding: 12px 40px;
    border: 2px solid #004a99;
    border-radius: 4px;
    background: #004a99;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.wpcf7 .topwork-contact input.topwork-contact-submit:hover { background: #003166; border-color: #003166; }
.wpcf7 .topwork-contact input.topwork-contact-submit:disabled { opacity: .6; cursor: wait; }
.topwork-contact input:focus-visible,
.topwork-contact .wpcf7-not-valid { border-color: #b42318; }
.wpcf7 .topwork-contact .wpcf7-not-valid-tip { margin-top: 6px; color: #b42318; font-size: 14px; }
.wpcf7 .topwork-contact .wpcf7-response-output { margin: 24px 0 0; padding: 16px; }

@media (max-width: 575.98px) {
    .topwork-contact { padding: 48px 0; }
}

@media (min-width: 601px) {
    .topwork-container { width: 85%; }
}

@media (min-width: 993px) {
    .topwork-container { width: 70%; }
}

@media (max-width: 991.98px) {
    .topwork-hero-image { min-height: 550px; }
    .topwork-hero-copy { padding-top: 125px; padding-bottom: 70px; }
    .topwork-hero-copy .pf { font-size: 2.34375rem; }
}

@media (max-width: 480px) {
    .topwork-header .logo { flex: 0 0 100%; max-width: 100%; }
    .topwork-header img.logo { margin: auto; }
    .topwork-header .logo-a { display: none; }
    .topwork-hero-image {
        min-height: 700px;
        background-image: url('../assets/img/hero_mobile.jpg');
        background-position: left center;
    }
    .topwork-hero-copy .pf { margin-right: auto; margin-left: auto; }
    .topwork-footer .about { margin-top: 0; }
    .topwork-footer .contact-c p:first-child { margin-left: 35px; }
}

@media (max-width: 360px) {
    .topwork-hero-copy .pf { font-size: 1.96875rem; }
    .topwork-hero-copy .ps { font-size: 18px; line-height: 28px; }
}
