/**
 * Torevya iletişim sayfası.
 * torevya-pages.css dosyasından sonra yüklenmelidir.
 */

.torevya-contact-main {
    overflow: hidden;
}

.torevya-contact-form-card,
.torevya-contact-intro {
    height: 100%;
    border-radius: 28px;
}

.torevya-contact-form-card {
    padding: 38px;
    background: #ffffff;
    border: 1px solid #e7e9f5;
    box-shadow: 0 24px 60px rgba(24, 35, 91, 0.09);
}

.torevya-contact-form-card__heading {
    margin-bottom: 28px;
}

.torevya-contact-form-card__heading h2 {
    margin: 8px 0 12px;
    color: #10182f;
    font-size: clamp(29px, 3vw, 42px);
    line-height: 1.12;
}

.torevya-contact-form-card__heading p {
    max-width: 620px;
    margin: 0;
    color: #667086;
}

.torevya-contact-form label {
    display: inline-block;
    margin-bottom: 8px;
    color: #202942;
    font-size: 14px;
    font-weight: 700;
}

.torevya-contact-form__control {
    display: block;
    width: 100%;
    min-height: 54px;
    padding: 13px 16px;
    color: #17213d;
    font: inherit;
    background: #f8f9fd;
    border: 1px solid #e3e6f1;
    border-radius: 13px;
    outline: none;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.torevya-contact-form__control::placeholder {
    color: #98a0b2;
}

.torevya-contact-form__control:hover {
    border-color: #cbd1e5;
}

.torevya-contact-form__control:focus {
    background: #ffffff;
    border-color: #5558f1;
    box-shadow: 0 0 0 4px rgba(85, 88, 241, 0.12);
}

.torevya-contact-form__control.is-invalid {
    border-color: #dc3545;
}

.torevya-contact-form__textarea {
    min-height: 155px;
    resize: vertical;
}

.torevya-contact-form__label-row {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.torevya-contact-form__label-row span {
    color: #8991a4;
    font-size: 12px;
    font-weight: 700;
}

.torevya-field-error {
    display: block;
    margin-top: 7px;
    color: #c72f41;
    font-size: 13px;
    line-height: 1.45;
}

.torevya-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.torevya-recaptcha {
    margin-top: 22px;
}

.torevya-recaptcha__widget {
    min-height: 78px;
    transform-origin: left top;
}

.torevya-form-help {
    display: block;
    margin-top: 7px;
    color: #747d91;
    font-size: 13px;
}

.torevya-contact-form__footer {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    margin-top: 26px;
}

.torevya-contact-form__footer p {
    max-width: 390px;
    margin: 0;
    color: #747d91;
    font-size: 12px;
    line-height: 1.55;
}

.torevya-contact-form__footer p a {
    color: #4147dc;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#contact-submit-button:disabled {
    cursor: not-allowed;
    filter: grayscale(.2);
    opacity: .55;
}

.torevya-contact-intro {
    position: relative;
    padding: 34px;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 100% 0, rgba(39, 197, 223, 0.28), transparent 38%),
        linear-gradient(145deg, #17256f, #433df0 60%, #245bd4);
    box-shadow: 0 28px 62px rgba(30, 39, 126, 0.22);
}

.torevya-contact-intro::after {
    position: absolute;
    right: -72px;
    bottom: -72px;
    width: 220px;
    height: 220px;
    content: "";
    border: 34px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.torevya-contact-intro__visual {
    display: grid;
    min-height: 260px;
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(7, 16, 73, 0.18);
    place-items: center;
}

.torevya-contact-intro__visual img {
    display: block;
    width: min(100%, 320px);
    height: auto;
}

.torevya-contact-intro > span {
    display: block;
    margin-bottom: 9px;
    color: #7ce6f5;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.torevya-contact-intro h2 {
    margin-bottom: 16px;
    color: #ffffff;
    font-size: clamp(27px, 3vw, 39px);
    line-height: 1.14;
}

.torevya-contact-intro p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
}

.torevya-contact-intro ul {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.torevya-contact-intro li {
    position: relative;
    padding-left: 27px;
    color: rgba(255, 255, 255, 0.91);
    font-weight: 700;
}

.torevya-contact-intro li::before {
    position: absolute;
    top: 5px;
    left: 0;
    width: 16px;
    height: 9px;
    content: "";
    border-bottom: 3px solid #72e5f4;
    border-left: 3px solid #72e5f4;
    transform: rotate(-45deg);
}

.torevya-contact-channel {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 255px;
    padding: 28px;
    color: inherit;
    background: #ffffff;
    border: 1px solid #e5e8f3;
    border-radius: 22px;
    box-shadow: 0 15px 40px rgba(30, 39, 94, 0.07);
    transition:
        border-color 220ms ease,
        box-shadow 220ms ease,
        transform 220ms ease;
}

a.torevya-contact-channel:hover,
a.torevya-contact-channel:focus-visible {
    color: inherit;
    border-color: rgba(70, 75, 232, 0.32);
    box-shadow: 0 21px 46px rgba(47, 55, 150, 0.13);
    transform: translateY(-4px);
}

a.torevya-contact-channel:focus-visible {
    outline: 3px solid rgba(39, 197, 223, 0.28);
    outline-offset: 3px;
}

.torevya-contact-channel img {
    display: block;
    width: 64px;
    height: 64px;
    margin-bottom: 22px;
}

.torevya-contact-channel > span {
    margin-bottom: 7px;
    color: #666fe8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.torevya-contact-channel h3 {
    margin-bottom: 10px;
    color: #121b35;
    font-size: 19px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.torevya-contact-channel p {
    margin: auto 0 0;
    color: #727b90;
    font-size: 14px;
    line-height: 1.65;
}

.torevya-contact-location__facts {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.torevya-contact-location__facts > div {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 15px 17px;
    background: #f5f7ff;
    border: 1px solid #e6e9f6;
    border-radius: 14px;
}

.torevya-contact-location__facts strong {
    color: #5558ef;
    font-size: 18px;
}

.torevya-contact-location__facts span {
    color: #28324b;
    font-weight: 700;
}

.torevya-contact-map {
    padding: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #4250e7, #24bfd9);
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(29, 50, 132, 0.18);
}

.torevya-contact-map iframe {
    display: block;
    width: 100%;
    height: 480px;
    background: #e9edf7;
    border: 0;
    border-radius: 19px;
}

.torevya-contact-faq {
    display: grid;
    max-width: 920px;
    gap: 14px;
    margin: 0 auto;
}

.torevya-contact-faq__item {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e4e7f2;
    border-radius: 17px;
    box-shadow: 0 10px 30px rgba(25, 35, 88, 0.05);
}

.torevya-contact-faq__item summary {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 21px 23px;
    color: #16203a;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.torevya-contact-faq__item summary::-webkit-details-marker {
    display: none;
}

.torevya-contact-faq__item summary:focus-visible {
    outline: 3px solid rgba(39, 197, 223, 0.28);
    outline-offset: -3px;
}

.torevya-contact-faq__toggle {
    position: relative;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    background: #eff1ff;
    border-radius: 50%;
}

.torevya-contact-faq__toggle::before,
.torevya-contact-faq__toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 13px;
    height: 2px;
    content: "";
    background: #4e53e8;
    border-radius: 2px;
    transform: translate(-50%, -50%);
}

.torevya-contact-faq__toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 180ms ease;
}

.torevya-contact-faq__item[open] .torevya-contact-faq__toggle::after {
    transform: translate(-50%, -50%) rotate(0);
}

.torevya-contact-faq__answer {
    padding: 0 23px 22px;
}

.torevya-contact-faq__answer p {
    margin: 0;
    color: #697287;
    line-height: 1.75;
}

@media (max-width: 991.98px) {
    .torevya-contact-intro {
        height: auto;
    }

    .torevya-contact-map iframe {
        height: 400px;
    }
}

@media (max-width: 575.98px) {
    .torevya-contact-form-card,
    .torevya-contact-intro {
        padding: 24px 20px;
        border-radius: 21px;
    }

    .torevya-contact-form__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .torevya-contact-form__footer .techin-default-btn {
        width: 100%;
    }

    .torevya-contact-intro__visual {
        min-height: 215px;
    }

    .torevya-contact-channel {
        min-height: auto;
    }

    .torevya-contact-map {
        padding: 8px;
        border-radius: 20px;
    }

    .torevya-contact-map iframe {
        height: 340px;
        border-radius: 14px;
    }

    .torevya-recaptcha__widget {
        margin-bottom: -8px;
        transform: scale(.88);
    }
}

@media (prefers-reduced-motion: reduce) {
    .torevya-contact-form__control,
    .torevya-contact-channel,
    .torevya-contact-faq__toggle::after {
        transition: none;
    }
}
