/* ================================================================
   contact.css — Contact page
   Scoped under html.contact-story. Linked only from
   template/pages/contact.php.
   Tokens match the theme:
     red       #921219 / #c12d2d
     dark blue #0c3c7f
     navy      #12314f
     text      #414141
   ================================================================ */

html.contact-story .ct-page,
html.contact-story .ct-page *,
html.contact-story .ct-page *::before,
html.contact-story .ct-page *::after {
    box-sizing: border-box;
}

html.contact-story .ct-page {
    color: #414141;
    font-size: 18px;
    line-height: 1.45;
}

html.contact-story .ct-page figure {
    margin: 0;
}

html.contact-story .ct-wrap {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 28px;
}

html.contact-story .ct-kicker {
    margin: 0 0 10px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #c12d2d;
}

html.contact-story .ct-h,
html.contact-story .ct-hero h1 {
    margin: 0 0 14px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: 0;
    text-transform: uppercase;
}

html.contact-story .ct-h::after,
html.contact-story .ct-hero h1::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 14px;
    background: #c12d2d;
}

html.contact-story a:focus-visible,
html.contact-story button:focus-visible,
html.contact-story input:focus-visible,
html.contact-story textarea:focus-visible {
    outline: 2px solid #c12d2d;
    outline-offset: 3px;
}

/* ----------------------------------------------------------------
   Hero
   ---------------------------------------------------------------- */
html.contact-story .ct-hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0 64px;
    background:
        radial-gradient(circle at 88% 18%, rgba(193, 45, 45, 0.35), transparent 28%),
        linear-gradient(155deg, #0c3c7f 0%, #12314f 62%, #0b2438 100%);
    color: #fff;
}

html.contact-story .ct-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: 40px;
    align-items: center;
}

html.contact-story .ct-hero .ct-kicker {
    color: #f0c7c7;
}

html.contact-story .ct-hero h1 {
    font-size: 72px;
    color: #fff;
}

html.contact-story .ct-hero-lead {
    max-width: 34em;
    margin: 0 0 22px;
    font-size: 22px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.92);
}

html.contact-story .ct-hero-link {
    margin: 0;
}

html.contact-story .ct-hero-link a {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 2px;
    background: #c12d2d;
    color: #fff;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1.1px;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
}

html.contact-story .ct-hero-link a:hover {
    background: #921219;
    color: #fff;
}

html.contact-story .ct-hero-photo img {
    display: block;
    width: 100%;
    height: 380px !important;
    max-width: none;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

/* ----------------------------------------------------------------
   Team
   ---------------------------------------------------------------- */
html.contact-story .ct-team {
    padding: 56px 0 64px;
    background: #f6f4ef;
}

html.contact-story .ct-intro {
    max-width: 640px;
    margin: 0 auto 32px;
    text-align: center;
}

html.contact-story .ct-intro .ct-h {
    font-size: 40px;
    font-weight: 500;
    color: #0c3c7f;
}

html.contact-story .ct-intro .ct-h::after {
    margin-left: auto;
    margin-right: auto;
}

html.contact-story .ct-lead {
    margin: 0;
    font-size: 18px;
    color: #414141;
}

html.contact-story .ct-people {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

html.contact-story .ct-person {
    margin: 0;
    padding: 26px 18px 22px;
    background: #fff;
    border: 1px solid #e4e8ee;
    text-align: center;
}

html.contact-story .ct-page figure.ct-photo {
    display: block;
    width: 112px;
    height: 112px;
    margin: 0 auto 14px;
    overflow: hidden;
    border-radius: 50%;
    background: #e7edf4;
}

html.contact-story .ct-photo img {
    display: block;
    width: 112px;
    height: 112px !important;
    max-width: none;
    object-fit: cover;
    object-position: center 18%;
    border-radius: 50%;
}

html.contact-story .ct-name,
html.contact-story .ct-person h3 {
    margin: 0 0 4px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.2px;
    text-transform: none;
    color: #12314f;
}

html.contact-story .ct-name a {
    color: #12314f;
    text-decoration: none;
}

html.contact-story .ct-name a:hover {
    color: #c12d2d;
}

html.contact-story .ct-role {
    margin: 0 0 10px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #c12d2d;
}

html.contact-story .ct-email {
    margin: 0;
    font-size: 15px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

html.contact-story .ct-email a {
    color: #0c3c7f;
    text-decoration: none;
}

html.contact-story .ct-email a:hover {
    color: #c12d2d;
    text-decoration: underline;
}

/* ----------------------------------------------------------------
   Office
   ---------------------------------------------------------------- */
html.contact-story .ct-visit {
    padding: 48px 0 8px;
    background: #fff;
}

html.contact-story .ct-office {
    padding: 32px 36px;
    background: #12314f;
    color: #fff;
}

html.contact-story .ct-office .ct-kicker {
    color: #f0c7c7;
}

html.contact-story .ct-office .ct-h {
    font-size: 36px;
    font-weight: 500;
    color: #fff;
}

html.contact-story .ct-office-line {
    margin: 0 0 8px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.92);
}

html.contact-story .ct-office-line:last-child {
    margin-bottom: 0;
}

html.contact-story .ct-office a {
    color: #fff;
    text-decoration: none;
}

html.contact-story .ct-office a:hover {
    color: #fff;
    text-decoration: underline;
}

html.contact-story .ct-extra {
    padding: 28px 0 8px;
    background: #fff;
}

html.contact-story .ct-extra img {
    max-width: 100%;
    height: auto;
}

/* ----------------------------------------------------------------
   Question form
   ---------------------------------------------------------------- */
html.contact-story .have_a_question.inverse-light {
    margin-top: 36px;
    padding: 56px 16px 64px;
    background: #f6f4ef;
}

html.contact-story .have_a_question h1 {
    margin: 0 0 8px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 40px;
    font-weight: 500;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-align: center;
    color: #0c3c7f;
}

html.contact-story .have_a_question p {
    margin: 0 0 20px;
    text-align: center;
    color: #414141;
}

html.contact-story .have_a_question form {
    max-width: 680px;
    margin: 0 auto;
    padding: 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(18, 49, 79, 0.08);
}

html.contact-story .have_a_question .inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

html.contact-story .have_a_question form input[type="text"],
html.contact-story .have_a_question form textarea {
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #d0d5dc;
    border-radius: 2px;
    background: #fff;
    color: #12314f;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 18px;
}

html.contact-story .have_a_question form textarea,
html.contact-story .have_a_question form input[type="submit"] {
    grid-column: 1 / -1;
}

html.contact-story .have_a_question form textarea {
    min-height: 140px;
    resize: vertical;
}

html.contact-story .have_a_question form input[type="submit"] {
    margin-top: 12px;
    border: 0;
    border-radius: 2px;
    padding: 12px 22px;
    background: #c12d2d;
    color: #fff;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
}

html.contact-story .have_a_question form input[type="submit"]:hover {
    background: #921219;
}

@media (max-width: 800px) {
    html.contact-story .ct-hero-grid,
    html.contact-story .ct-people {
        grid-template-columns: 1fr 1fr;
    }

    html.contact-story .ct-hero h1 {
        font-size: 56px;
    }

    html.contact-story .ct-hero-photo img {
        height: 280px !important;
    }
}

@media (max-width: 640px) {
    html.contact-story .ct-hero {
        padding: 36px 0 40px;
    }

    html.contact-story .ct-hero-grid,
    html.contact-story .ct-people,
    html.contact-story .have_a_question .inputs {
        grid-template-columns: 1fr;
    }

    html.contact-story .ct-hero h1,
    html.contact-story .ct-intro .ct-h,
    html.contact-story .have_a_question h1 {
        font-size: 40px;
    }

    html.contact-story .ct-hero-lead {
        font-size: 18px;
    }

    html.contact-story .ct-hero-photo {
        order: -1;
    }

    html.contact-story .ct-hero-photo img {
        height: 220px !important;
    }

    html.contact-story .ct-team {
        padding: 36px 0 40px;
    }

    html.contact-story .ct-office {
        padding: 24px 20px;
    }
}
