@charset "UTF-8";

/* Contact page — scoped overrides for the CF7 form and page introduction. */
.contact-page {
    --contact-navy: #062f4d;
    --contact-navy-deep: #02253d;
    --contact-blue: #176b96;
    --contact-sky: #d9edf5;
    --contact-ink: #17242d;
    --contact-muted: #52636f;
    --contact-line: #cbd6dc;
    --contact-surface: #ffffff;
    --contact-bg: #f4f7f9;
}

.contact-page .page-title-wrapper {
    min-height: 430px;
    padding: 164px clamp(28px, 6vw, 96px) 112px;
    background: linear-gradient(90deg, rgba(2, 37, 61, .78), rgba(2, 37, 61, .28));
}

.contact-page .page-title-area {
    gap: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .42);
}

.contact-page .page-title {
    font-size: clamp(52px, 6vw, 78px);
    line-height: 1;
    letter-spacing: -.025em;
}

.contact-page .page-sub-title {
    margin-top: 0;
    font-size: 17px;
    letter-spacing: .08em;
}

.contact-page .page-article {
    padding: 0 48px 104px;
    background: var(--contact-bg);
}

.contact-page-content {
    max-width: 1360px;
    padding: 0;
}

.contact-intro {
    width: 100%;
    padding: 72px 0 64px;
}

.contact-intro-copy {
    max-width: 820px;
}

.contact-intro h2 {
    margin: 0 0 24px;
    color: var(--contact-ink);
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.contact-intro-copy > p {
    max-width: 62ch;
    margin: 0;
    color: var(--contact-muted);
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: .02em;
    text-wrap: pretty;
}

.contact-form-wrapper {
    width: 100%;
}

.contact-page .contact-container {
    display: block;
    width: 100%;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.contact-page .form-area {
    width: min(100%, 920px);
    margin: 0 auto;
    padding: clamp(36px, 5vw, 68px);
    border-radius: 14px;
    background: var(--contact-surface);
    box-shadow: 0 6px 8px rgba(12, 43, 62, .09);
}

.contact-page .form-area > h2 {
    margin: 0 0 38px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .02em;
    text-align: left;
}

.contact-page .cf7-item {
    margin-bottom: 25px;
}

.contact-page .cf7-q,
.contact-page .cf7-a,
.contact-page .cf7-q p,
.contact-page .cf7-a p {
    margin: 0;
}

.contact-page .cf7-q {
    margin-bottom: 9px;
}

.contact-page .cf7-q label {
    color: var(--contact-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
}

.contact-page .cf7-req {
    display: inline-flex;
    margin-left: 9px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #f8e6e5;
    color: #9f2924;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    vertical-align: 1px;
}

.contact-page .wpcf7-form-control-wrap {
    display: block;
}

.contact-page .wpcf7 input[type="text"],
.contact-page .wpcf7 input[type="email"],
.contact-page .wpcf7 select,
.contact-page .wpcf7 textarea {
    width: 100%;
    min-height: 50px;
    padding: 13px 15px;
    border: 1px solid var(--contact-line);
    border-radius: 8px;
    background: #fff;
    color: var(--contact-ink);
    font: inherit;
    font-size: 15px;
    line-height: 1.55;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.contact-page .wpcf7 textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-page .wpcf7 input::placeholder,
.contact-page .wpcf7 textarea::placeholder {
    color: #5d6b74;
    opacity: 1;
}

.contact-page .wpcf7 input[type="text"]:focus,
.contact-page .wpcf7 input[type="email"]:focus,
.contact-page .wpcf7 select:focus,
.contact-page .wpcf7 textarea:focus {
    outline: none;
    border-color: var(--contact-blue);
    box-shadow: 0 0 0 3px rgba(23, 107, 150, .16);
    background: #fbfdfe;
}

.contact-page .wpcf7 input[type="file"] {
    width: 100%;
    padding: 9px;
    border: 1px dashed #aab9c1;
    border-radius: 8px;
    color: var(--contact-muted);
    font-size: 13px;
}

.contact-page .wpcf7 input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 8px 13px;
    border: 0;
    border-radius: 6px;
    background: #e8eef2;
    color: var(--contact-ink);
    font-weight: 600;
    cursor: pointer;
}

.contact-page .submit-button {
    width: 100%;
    margin-top: 36px;
}

.contact-page .submit-button p {
    width: 100%;
    margin: 0;
}

.contact-page .wpcf7 input[type="submit"] {
    display: block;
    width: 100%;
    min-height: 56px;
    padding: 15px 24px;
    border: 0;
    border-radius: 8px;
    background: var(--contact-navy);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .08em;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s cubic-bezier(.22, 1, .36, 1);
}

.contact-page .wpcf7 input[type="submit"]:hover {
    background: var(--contact-navy-deep);
    transform: translateY(-2px);
}

.contact-page .wpcf7 input[type="submit"]:focus-visible {
    outline: 3px solid var(--contact-sky);
    outline-offset: 3px;
}

.contact-page .contact-info {
    width: 100%;
    margin-top: clamp(64px, 8vw, 104px);
    padding: clamp(38px, 5vw, 68px) clamp(28px, 5vw, 72px);
    border-top: 1px solid #b9cbd4;
    border-bottom: 1px solid #b9cbd4;
    border-radius: 0;
    background: #e8f0f4;
    color: var(--contact-ink);
}

.contact-page .attention {
    display: grid;
    grid-template-columns: minmax(210px, .65fr) minmax(0, 1.6fr);
    column-gap: clamp(42px, 7vw, 108px);
    row-gap: 0;
}

.contact-page .contact-info h2 {
    grid-column: 1;
    grid-row: 1 / span 4;
    margin: 0;
    color: var(--contact-navy);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -.02em;
    text-align: left;
    text-wrap: balance;
    white-space: nowrap;
}

.contact-page .attention .page-text {
    grid-column: 2;
    position: relative;
    margin: 0;
    padding: 17px 0 17px 30px;
    border-bottom: 1px solid #c4d2d9;
    color: #314550;
    font-size: 15px;
    line-height: 1.75;
}

.contact-page .attention .page-text:first-of-type {
    padding-top: 0;
}

.contact-page .attention .page-text::before {
    content: "";
    position: absolute;
    top: 1.75em;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--contact-blue);
}

.contact-page .attention .page-text:first-of-type::before {
    top: .72em;
}

.contact-page .recaptcha .page-text {
    max-width: 720px;
    margin: 32px 0 0 auto;
    color: #536974;
    font-size: 11px;
    line-height: 1.7;
}

.contact-page .recaptcha a {
    color: #174f70;
    text-decoration-color: #174f70;
}

.contact-page .wpcf7-not-valid-tip {
    margin-top: 7px;
    color: #a72924;
    font-size: 13px;
    line-height: 1.5;
}

.contact-page .wpcf7 form .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 14px 16px;
    border: 0;
    border-radius: 8px;
    background: #eaf3f7;
    color: var(--contact-ink);
    line-height: 1.65;
}

@media (max-width: 900px) {
    .contact-page .page-article {
        padding: 0 28px 80px;
    }

    .contact-intro {
        padding: 58px 0 52px;
    }

    .contact-page .attention {
        grid-template-columns: 1fr;
    }

    .contact-page .contact-info h2 {
        grid-column: 1;
        grid-row: auto;
        margin-bottom: 24px;
    }

    .contact-page .attention .page-text {
        grid-column: 1;
    }

    .contact-page .recaptcha .page-text {
        margin-left: 0;
    }
}

@media (max-width: 600px) {
    .contact-page .page-title-wrapper {
        min-height: 350px;
        padding: 132px 24px 82px;
    }

    .contact-page .page-title {
        font-size: 48px;
    }

    .contact-page .page-article {
        padding: 0 16px 64px;
    }

    .contact-intro {
        padding: 44px 4px 40px;
    }

    .contact-intro h2 {
        font-size: 30px;
    }

    .contact-intro-copy > p {
        font-size: 15px;
        line-height: 1.8;
    }

    .contact-page .form-area {
        padding: 34px 22px;
    }

    .contact-page .form-area > h2 {
        margin-bottom: 30px;
        font-size: 21px;
    }

    .contact-page .contact-info {
        margin-top: 52px;
        padding: 36px 20px;
    }

    .contact-page .contact-info h2 {
        font-size: 24px;
    }

    .contact-page .attention .page-text {
        padding-left: 25px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-page *,
    .contact-page *::before,
    .contact-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
