/* =============================================================================
   Contact Page Styles
   ============================================================================= */

.contact-page {
    /* background-image: url('/wp-content/uploads/2026/05/CONTACT-BR.png'); */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.contact-hero {
    background: transparent;
    padding: 20px 24px 14px;
    text-align: right;
}

.contact-hero__inner {
    max-width: 1300px;
    margin: 0 auto;
    text-align: right;
}

.contact-hero__title {
    margin: 0;
    font-size: clamp(1.6rem, 2.5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-blue-dark);
    line-height: 1.2;
}

.contact-hero__subtitle {
    margin: 10px 0 0;
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    color: var(--color-blue-dark);
    line-height: 1.6;
    opacity: 0.85;
}

/* Contact Section */
.contact-section {
    background: transparent;
    padding: 60px 32px;
}

.contact-section__inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: start;
}

.contact-section__divider {
    width: 1px;
    background: #C5D8F0;
    min-height: 400px;
    align-self: stretch;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form__title,
.contact-info__title {
    font-size: clamp(1.3rem, 2.2vw, 2rem);
    color: var(--color-blue-dark);
    font-weight: 500;
    margin: 0 0 8px;
    text-align: right;
}

.contact-form__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form__notice {
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 8px;
    text-align: right;
}

.contact-form__notice--success {
    background: #EAF8EE;
    color: #1C6B34;
    border: 1px solid #BFE4C9;
}

.contact-form__notice--error {
    background: #FDECEC;
    color: #8B1F1F;
    border: 1px solid #F3C2C2;
}

.contact-form__field {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #C5D8F0;
    padding-bottom: 8px;
}

.contact-form__label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-blue-dark);
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
}

.contact-form__required {
    color: #E74C3C;
}

.contact-form__input {
    flex: 1;
    font-size: 1rem;
    padding: 4px 0;
    border: none;
    background: transparent;
    color: var(--color-blue-dark);
    outline: none;
    text-align: right;
    direction: rtl;
}

.contact-form__input:focus {
    outline: none;
}

.contact-form__textarea {
    resize: vertical;
    min-height: 100px;
    width: 100%;
    font-size: 1rem;
    padding: 12px 16px;
    border: 1px solid #C5D8F0;
    border-radius: 8px;
    background: #fff;
    color: var(--color-blue-dark);
    direction: rtl;
    text-align: right;
}

.contact-form__field--inline {
    flex-direction: column;
    align-items: stretch;
    border-bottom: none;
    padding-bottom: 0;
    gap: 6px;
}

.contact-form__hint {
    font-size: 0.85rem;
    color: var(--color-blue-dark);
    margin: 0 0 4px;
    text-align: right;
}

.contact-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 1rem 3rem;
    /* narrower */
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;

    color: #fff;
    background: linear-gradient(135deg, #0b3c82, #051733);
    border: none;
    border-radius: 999px;

    cursor: pointer;

    box-shadow: 0 4px 16px rgba(5, 23, 51, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;

    margin: 12px auto 0;
    /* centers it */
}

.contact-form__inline-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.contact-form__inline-row .contact-form__textarea {
    flex: 1;
}

.contact-form__inline-row .site-footer__submit {
    margin-bottom: -8px;
}

.contact-form__submit:hover,
.contact-form__submit:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(5, 23, 51, 0.5);
    color: #fff;
}

.contact-form__submit:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(5, 23, 51, 0.3);
}

.contact-form__apps {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.contact-form__app-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #fff;
    border: 1px solid #C5D8F0;
    border-radius: 8px;
    color: #25D366;
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-form__app-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form__app-link:last-child {
    color: #4169E1;
}

.contact-form__app-separator {
    font-size: 1.2rem;
    color: var(--color-blue-dark);
    font-weight: 600;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-info__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    direction: rtl;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-info__item--link:hover {
    border-color: rgba(0, 0, 0, 0.18);
    background: #f7f8fa;
    cursor: pointer;
}

.contact-info__icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info__icon-wrap--blue  { background: #e6f1fb; }
.contact-info__icon-wrap--green { background: #eaf3de; }
.contact-info__icon-wrap--amber { background: #faeeda; }

.contact-info__icon {
    font-size: 20px;
}

.contact-info__icon-wrap--blue  .contact-info__icon { color: #185fa5; }
.contact-info__icon-wrap--green .contact-info__icon { color: #3b6d11; }
.contact-info__icon-wrap--amber .contact-info__icon { color: #854f0b; }

.contact-info__content {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
    flex: 1;
    text-align: right;
}

.contact-info__label {
    font-size: 21px;
    color: var(--color-blue-dark);
    font-weight: 500;
}

.contact-info__value {
    font-size: 21px;
    color: var(--color-blue-dark);
    font-weight: 500;
}

.contact-info__item--address .contact-info__value {
    font-size: 19px;
}

.contact-info__arrow {
    font-size: 14px;
    color: #ccc;
    flex-shrink: 0;
}

.contact-info__subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-blue-dark);
    margin: 4px 0 2px;
    text-align: right;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-info__hours {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    font-size: 1rem;
    background: #fff;
    border: 1px solid #D7E2F0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 26, 77, 0.05);
}

.contact-info__hours td {
    padding: 13px 16px;
    border-bottom: 1px solid #CFDAEA;
    text-align: right;
    color: var(--color-blue-dark);
    line-height: 1.35;
    font-size: 1.35rem;
}

.contact-info__hours td+td {
    border-right: 1px solid #CFDAEA;
}

.contact-info__hours td:last-child {
    color: var(--color-blue-dark);
    font-weight: 500;
    text-align: center;
}

.contact-info__hours td:first-child {
    font-weight: 500;
    color: var(--color-blue-dark);
    width: 24%;
    text-align: right;
}

.contact-info__hours tr:last-child td {
    border-bottom: 0;
}

.contact-info__hours tr:nth-child(even) {
    background: #F8FBFF;
}

.contact-info__map {
    border-radius: 8px;
    overflow: hidden;
    margin: 4px 0;
}

.contact-info__nav {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 4px;
    flex-wrap: wrap;
    /* important for mobile */
}

.contact-info__nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    flex: 1;
    /* makes them equal width */
    min-width: 180px;
    /* prevents too small collapse */

    font-size: 0.95rem;
    font-weight: 700;

    color: #fff;
    text-decoration: none;

    padding: 12px 18px;
    border-radius: 999px;

    background: linear-gradient(135deg, #0b3c82, #051733);

    box-shadow: 0 4px 14px rgba(5, 23, 51, 0.25);

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-info__nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(5, 23, 51, 0.35);
}

@media (max-width: 600px) {
    .contact-info__nav {
        flex-direction: column;
    }

    .contact-info__nav-btn {
        width: 100%;
        min-width: unset;
    }
}

.contact-form__cta {
    margin-top: 18px;
    padding: 14px 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    background: linear-gradient(135deg, #0b3c82, #051733);
    border-radius: 12px;

    box-shadow: 0 10px 28px rgba(5, 23, 51, 0.25);

    color: #fff;
}

.contact-form__cta-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-form__cta-text strong {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
}

.contact-form__cta-text span {
    font-size: 1.1rem;
    opacity: 0.85;
    line-height: 1.3;
}

.contact-form__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.65rem 1.1rem;
    border-radius: 999px;

    background: #fff;
    color: var(--color-blue-dark);

    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.contact-form__cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

@media (max-width: 600px) {
    .contact-form__cta {
        flex-direction: column;
        text-align: center;
    }

    .contact-form__cta-btn {
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .contact-hero {
        padding: 20px 0 14px;
    }

    .contact-hero__inner {
        max-width: 100%;
        margin: 0;
        padding: 0 24px;
    }

    .contact-hero__title {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
    }

    .contact-hero__subtitle {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
    }

    .contact-info__label,
    .contact-info__value {
        font-size: 15px;
    }

    .contact-info__item--address .contact-info__value {
        font-size: 14px;
    }

    .contact-info__hours td {
        font-size: 1rem;
        padding: 10px 12px;
    }

    .contact-section {
        padding: 20px 24px;
    }

    .contact-section__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-section__divider {
        display: none;
    }

    .contact-form,
    .contact-info {
        max-width: 100%;
        margin: 0;
    }

    .contact-form {
        order: -1;
    }

    .contact-info {
        order: 1;
    }
}

@media (max-width: 640px) {
    .contact-section {
        padding: 10px 20px;
    }

    .contact-form__label {
        font-size: 1rem;
    }

    .contact-info__value {
        font-size: 1.1rem;
    }

    .contact-info__label {
        font-size: 1.2rem;
    }

    .contact-form__title,
    .contact-info__title {
        font-size: 1.2rem;
    }

    .contact-banner__text {
        font-size: 1rem;
    }
}

/* Tablet: 769–1024px */
@media (max-width: 1024px) and (min-width: 769px) {
    .contact-form__title,
    .contact-info__title {
        font-size: 1.7rem;
    }

    .contact-form__label {
        font-size: 1.2rem;
    }

    .contact-form__input,
    .contact-form__textarea {
        font-size: 1.15rem;
    }

    .contact-form__submit {
        font-size: 1.25rem;
    }

    .contact-info__icon-wrap {
        width: 50px;
        height: 50px;
    }

    .contact-info__icon {
        font-size: 26px;
    }

    .contact-info__label,
    .contact-info__value {
        font-size: 1.3rem;
    }

    .contact-info__item--address .contact-info__value {
        font-size: 1.2rem;
    }

    .contact-info__subtitle {
        font-size: 1.55rem;
    }

    .contact-info__hours td {
        font-size: 1.45rem;
        padding: 14px 18px;
    }
}