/* Contact page — scoped to the page template. */
.cy-contact-page {
    --contact-ink: #172231;
    --contact-muted: #586a7b;
    --contact-line: #dce4e9;
    --contact-gold: #f2ad17;
    display: grid;
    gap: 17px;
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    color: var(--contact-ink);
}
.cy-contact-page *, .cy-contact-page *::before, .cy-contact-page *::after { box-sizing: border-box; }
.cy-contact-page svg { display: block; width: 1em; height: 1em; fill: currentColor; }
.cy-contact-page a:focus-visible, .cy-contact-page button:focus-visible,
.cy-contact-page summary:focus-visible { outline: 3px solid #d99500; outline-offset: 3px; }
.cy-contact-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #9b6600;
    font-size: 13px;
    font-weight: 800;
}
.cy-contact-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--contact-gold); }

.cy-contact-hero {
    display: flex;
    align-items: center;
    min-height: 192px;
    padding: 23px clamp(22px, 3vw, 36px);
    border-radius: 17px;
    background-color: #101d2b;
    background-image: linear-gradient(90deg, rgba(9, 21, 36, .04), rgba(9, 21, 36, .46) 48%, rgba(9, 21, 36, .80) 72%), url('../images/contact-hero-v1.webp');
    background-position: center, center 28%;
    background-size: cover;
    color: #fff;
    box-shadow: 0 10px 25px rgba(14, 31, 47, .11);
}
.cy-contact-hero__content { max-width: min(66%, 680px); }
.cy-contact-hero .cy-contact-kicker { color: #ffd076; }
.cy-contact-hero h1 { margin: 3px 0 3px; color: #fff; font-size: clamp(27px, 3vw, 33px); line-height: 1.4; }
.cy-contact-hero p { margin: 0; color: #dbe5ed; font-size: 14px; line-height: 1.8; }
.cy-contact-hero__meta { margin-top: 7px; }
.cy-contact-hero__meta span { display: inline-flex; align-items: center; gap: 8px; color: #f6e0ac; font-size: 13px; font-weight: 700; }
.cy-contact-hero__meta svg { font-size: 16px; }

.cy-contact-layout { display: grid; grid-template-columns: minmax(285px, .82fr) minmax(0, 1.42fr); align-items: start; gap: 20px; }
.cy-contact-info, .cy-contact-form-card {
    min-width: 0;
    border: 1px solid var(--contact-line);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 10px 35px rgba(18, 37, 54, .055);
}
.cy-contact-info { display: grid; gap: 12px; padding: 23px; scroll-margin-top: 20px; }
.cy-contact-info__head { margin-bottom: 5px; }
.cy-contact-info__head h2 { margin: 8px 0 7px; color: var(--contact-ink); font-size: 21px; line-height: 1.6; }
.cy-contact-info__head p { margin: 0; color: var(--contact-muted); font-size: 14px; line-height: 1.9; }
.cy-contact-channel {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    min-height: 82px;
    padding: 14px;
    border: 1px solid #e2e9ee;
    border-radius: 13px;
    background: #fbfcfd;
    color: var(--contact-ink);
    text-decoration: none;
    transition: border-color .18s, background .18s, transform .18s;
}
.cy-contact-channel[href]:hover { transform: translateY(-2px); border-color: #c5d3db; background: #f5f9fb; color: var(--contact-ink); }
.cy-contact-channel__icon { display: grid; flex: 0 0 48px; place-items: center; width: 48px; height: 48px; border-radius: 12px; }
.cy-contact-channel__icon svg { width: 23px; height: 23px; }
.cy-contact-channel__icon--mail { background: #e7f0f9; color: #1c5c93; }
.cy-contact-channel__icon--whatsapp { background: #e2f6eb; color: #17834d; }
.cy-contact-channel__body { display: grid; flex: 1; min-width: 0; gap: 3px; }
.cy-contact-channel__body strong { font-size: 15px; line-height: 1.5; }
.cy-contact-channel__body small { color: var(--contact-muted); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.cy-contact-channel__arrow { color: #607082; font-size: 22px; }
.cy-contact-note { display: flex; align-items: flex-start; gap: 11px; margin-top: 7px; padding: 16px; border: 1px solid #ede4cb; border-radius: 13px; background: #fffaf0; }
.cy-contact-note > svg { flex: 0 0 23px; width: 23px; height: 23px; color: #a96c00; }
.cy-contact-note strong { display: block; margin-bottom: 3px; font-size: 14px; }
.cy-contact-note p { margin: 0; color: #5b594e; font-size: 13px; line-height: 1.85; }

.cy-contact-form-card { padding: clamp(21px, 3.2vw, 36px); }
.cy-contact-form-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid #e8edf1; scroll-margin-top: 24px; }
.cy-contact-form-icon { display: grid; flex: 0 0 53px; place-items: center; width: 53px; height: 53px; border-radius: 14px; background: #1d3448; color: #ffd077; }
.cy-contact-form-icon svg { width: 25px; height: 25px; }
.cy-contact-form-card__head h2 { margin: 4px 0; color: var(--contact-ink); font-size: 23px; line-height: 1.5; }
.cy-contact-form-card__head p { margin: 0; color: var(--contact-muted); font-size: 14px; line-height: 1.7; }
.cy-contact-alert { margin: 0 0 20px; padding: 13px 16px; border: 1px solid; border-radius: 11px; font-size: 14px; line-height: 1.8; font-weight: 700; }
.cy-contact-alert--success { border-color: #a9d9be; background: #edf9f1; color: #17623b; }
.cy-contact-alert--error { border-color: #e9bcb5; background: #fff2ef; color: #963729; }
.cy-contact-form { display: grid; gap: 20px; }
.cy-contact-fields-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.cy-contact-field { display: grid; min-width: 0; gap: 8px; }
.cy-contact-field > span { color: #253647; font-size: 14px; font-weight: 700; }
.cy-contact-field em { color: #ba4839; font-style: normal; }
.cy-contact-field input, .cy-contact-field select, .cy-contact-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    border: 1px solid #cbd6df;
    border-radius: 10px;
    background: #fff;
    color: var(--contact-ink);
    font: inherit;
    font-size: 15px;
    transition: border-color .18s, box-shadow .18s;
}
.cy-contact-field input, .cy-contact-field select { min-height: 50px; padding: 10px 14px; }
.cy-contact-field select {
    appearance: none;
    -webkit-appearance: none;
    padding-left: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23586a7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-size: 16px;
}
.cy-contact-field textarea { min-height: 166px; padding: 13px 14px; resize: vertical; line-height: 1.85; }
.cy-contact-field input:focus, .cy-contact-field select:focus, .cy-contact-field textarea:focus { outline: 0; border-color: #a97608; box-shadow: 0 0 0 3px rgba(242, 173, 23, .2); }
.cy-contact-field input[dir="ltr"] { text-align: left; }
.cy-contact-field ::placeholder { color: #7c8995; opacity: 1; }
.cy-contact-form__hint { margin: -6px 0 -2px; color: var(--contact-muted); font-size: 13px; line-height: 1.8; }
.cy-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 10px 24px;
    border: 0;
    border-radius: 11px;
    background: #1d3448;
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background .18s, transform .18s;
}
.cy-contact-submit:hover { transform: translateY(-1px); background: #304c63; }
.cy-contact-submit svg { width: 19px; height: 19px; }
.cy-contact-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 900px) {
    .cy-contact-layout { grid-template-columns: 1fr; }
    .cy-contact-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cy-contact-info__head, .cy-contact-note { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
    .cy-contact-page { gap: 13px; }
    .cy-contact-hero {
        min-height: 188px;
        padding: 19px;
        border-radius: 13px;
        background-image: linear-gradient(90deg, rgba(9, 21, 36, .71), rgba(9, 21, 36, .88)), url('../images/contact-hero-v1.webp');
        background-position: center, 58% center;
    }
    .cy-contact-hero__content { max-width: 100%; }
    .cy-contact-hero h1 { font-size: 27px; }
    .cy-contact-info, .cy-contact-form-card { border-radius: 15px; }
    .cy-contact-info { grid-template-columns: 1fr; padding: 19px 16px; }
    .cy-contact-info__head, .cy-contact-note { grid-column: auto; }
    .cy-contact-form-card { padding: 20px 16px; }
    .cy-contact-form-card__head { align-items: flex-start; gap: 11px; }
    .cy-contact-form-icon { flex-basis: 43px; width: 43px; height: 43px; }
    .cy-contact-form-card__head h2 { font-size: 21px; }
    .cy-contact-fields-row { grid-template-columns: 1fr; }
    .cy-contact-form { gap: 17px; }
    .cy-contact-submit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .cy-contact-channel, .cy-contact-submit { transition: none; }
}
