/* CONTACT
   Page-specific styles. Visible content remains editable in Gutenberg. */

.diana-contact {
    --contact-ink: #17130f;
    --contact-muted: #625b53;
    --contact-gold: #a37f47;
    --contact-cream: #f4efe7;
    --contact-paper: #fbfaf7;
    --contact-line: rgba(23, 19, 15, .14);
    color: var(--contact-ink);
    background: var(--contact-paper);
}

.diana-contact .wp-block-columns { margin-bottom: 0; }
.diana-contact .wp-block-column { min-width: 0; }

.contact-kicker {
    margin: 0 0 24px;
    color: var(--contact-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.contact-kicker--light { color: #c7a56d; }

/* Hero */
.contact-hero { background: var(--contact-cream); }

.contact-hero__grid {
    min-height: 690px;
    display: grid !important;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 0;
}

.contact-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 88px clamp(54px, 6vw, 108px) 88px max(60px, calc((100vw - 1280px) / 2));
}

.contact-hero h1 {
    max-width: 660px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(54px, 4.8vw, 78px);
    font-weight: 400;
    line-height: .99;
    letter-spacing: -.05em;
}

.contact-hero__lead {
    max-width: 590px;
    margin: 32px 0 0;
    color: #332e29;
    font-size: 17px;
    line-height: 1.78;
}

.contact-hero__meta {
    margin: 27px 0 0;
    color: #7d746a;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: .14em;
}

.contact-hero__media {
    position: relative;
    min-height: 690px;
    overflow: hidden;
    background: #201a15;
}

.contact-hero__image,
.contact-hero__image img {
    width: 100%;
    height: 100%;
}

.contact-hero__image {
    position: absolute;
    inset: 0;
    margin: 0;
}

.contact-hero__image img {
    object-fit: cover;
    object-position: center 24%;
}

/* Direct contact */
.contact-direct-section {
    padding: 106px max(60px, calc((100vw - 1280px) / 2)) 78px;
    background: #fff;
}

.contact-direct-section__grid {
    display: grid !important;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(70px, 9vw, 145px);
    align-items: start;
}

.contact-direct-section h2,
.contact-form-panel h2,
.contact-expect h2,
.contact-language h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(45px, 3.7vw, 61px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -.04em;
}

.contact-direct__intro,
.contact-form-panel__intro {
    max-width: 560px;
    margin: 25px 0 0;
    color: var(--contact-muted);
    font-size: 15px;
    line-height: 1.8;
}

.contact-detail {
    padding: 25px 0 24px;
    border-bottom: 1px solid var(--contact-line);
}

.contact-detail:first-child { border-top: 1px solid var(--contact-line); }

.contact-detail__label {
    margin: 0 0 8px;
    color: #83796e;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .15em;
}

.contact-detail__value {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.contact-detail__value--small { font-size: 21px; }
.contact-detail__value a { color: var(--contact-ink); text-decoration: none; }
.contact-detail__value a:hover { color: var(--contact-gold); }

/* Compact social strip */
.contact-social-strip {
    width: min(calc(100% - 80px), 1120px);
    margin: 0 auto;
    padding: 0 22px;
    border: 1px solid rgba(163,127,71,.16);
    background: #f5f0e8;
}

.contact-social-strip__inner {
    min-height: 72px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 28px;
}

.contact-social-strip__eyebrow {
    margin: 0;
    color: var(--contact-gold);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .18em;
    white-space: nowrap;
}

.contact-social-strip__links {
    min-width: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

.contact-social-strip__item {
    position: relative;
    flex: 0 0 auto;
    min-width: 0;
    margin: 0;
    border-left: 1px solid rgba(163,127,71,.22);
}

.contact-social-strip__item:last-child { border-right: 1px solid rgba(163,127,71,.22); }

.contact-social-strip__item a,
.contact-social-strip__item--pending {
    min-height: 44px;
    display: grid;
    grid-template-columns: 17px auto auto;
    align-items: center;
    gap: 6px;
    padding: 0 9px;
    color: #2d2822;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
}

.contact-social-strip__item a::before,
.contact-social-strip__item--pending::before {
    content: "";
    width: 15px;
    height: 15px;
    display: block;
    background: var(--contact-gold);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

.contact-social-strip__item--facebook a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.6 21v-7.7h2.6l.4-3h-3V8.4c0-.9.3-1.5 1.6-1.5h1.6V4.2c-.3 0-1.3-.1-2.4-.1-2.4 0-4 1.4-4 4.2v2.1H8.2v3h2.7V21h2.7z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.6 21v-7.7h2.6l.4-3h-3V8.4c0-.9.3-1.5 1.6-1.5h1.6V4.2c-.3 0-1.3-.1-2.4-.1-2.4 0-4 1.4-4 4.2v2.1H8.2v3h2.7V21h2.7z'/%3E%3C/svg%3E");
}

.contact-social-strip__item--instagram::before,
.contact-social-strip__item--instagram a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.6 3h8.8A4.6 4.6 0 0 1 21 7.6v8.8a4.6 4.6 0 0 1-4.6 4.6H7.6A4.6 4.6 0 0 1 3 16.4V7.6A4.6 4.6 0 0 1 7.6 3zm0 1.7A2.9 2.9 0 0 0 4.7 7.6v8.8a2.9 2.9 0 0 0 2.9 2.9h8.8a2.9 2.9 0 0 0 2.9-2.9V7.6a2.9 2.9 0 0 0-2.9-2.9H7.6zm8.9 1.3a1 1 0 1 1 0 2.1 1 1 0 0 1 0-2.1zM12 7.1a4.9 4.9 0 1 1 0 9.8 4.9 4.9 0 0 1 0-9.8zm0 1.7a3.2 3.2 0 1 0 0 6.4 3.2 3.2 0 0 0 0-6.4z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.6 3h8.8A4.6 4.6 0 0 1 21 7.6v8.8a4.6 4.6 0 0 1-4.6 4.6H7.6A4.6 4.6 0 0 1 3 16.4V7.6A4.6 4.6 0 0 1 7.6 3zm0 1.7A2.9 2.9 0 0 0 4.7 7.6v8.8a2.9 2.9 0 0 0 2.9 2.9h8.8a2.9 2.9 0 0 0 2.9-2.9V7.6a2.9 2.9 0 0 0-2.9-2.9H7.6zm8.9 1.3a1 1 0 1 1 0 2.1 1 1 0 0 1 0-2.1zM12 7.1a4.9 4.9 0 1 1 0 9.8 4.9 4.9 0 0 1 0-9.8zm0 1.7a3.2 3.2 0 1 0 0 6.4 3.2 3.2 0 0 0 0-6.4z'/%3E%3C/svg%3E");
}

.contact-social-strip__item--telegram::before,
.contact-social-strip__item--telegram a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 4.6 17.8 20c-.2 1-1 1.2-1.8.7l-4.9-3.7-2.3 2.2c-.3.3-.5.5-1 .5l.3-5 9.1-8.3c.4-.4-.1-.6-.6-.3L5.5 13 1 11.6c-1-.3-1-.9.2-1.3L19.5 3c.8-.3 1.7.2 1.4 1.6z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 4.6 17.8 20c-.2 1-1 1.2-1.8.7l-4.9-3.7-2.3 2.2c-.3.3-.5.5-1 .5l.3-5 9.1-8.3c.4-.4-.1-.6-.6-.3L5.5 13 1 11.6c-1-.3-1-.9.2-1.3L19.5 3c.8-.3 1.7.2 1.4 1.6z'/%3E%3C/svg%3E");
}


.contact-social-strip__item--whatsapp a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 3.5A11.8 11.8 0 0 0 12.1 0C5.6 0 .3 5.3.3 11.8c0 2.1.5 4.1 1.6 5.9L.2 24l6.5-1.7a11.8 11.8 0 0 0 5.4 1.4h.1c6.5 0 11.8-5.3 11.8-11.8 0-3.2-1.2-6.1-3.5-8.4zM12.2 21.7h-.1a9.8 9.8 0 0 1-5-1.4l-.4-.2-3.9 1 1-3.8-.2-.4a9.7 9.7 0 1 1 8.6 4.8zm5.4-7.3c-.3-.1-1.7-.8-2-.9-.3-.1-.5-.1-.7.1-.2.3-.8 1-.9 1.1-.2.2-.3.2-.6.1-1.7-.8-2.8-1.5-3.9-3.4-.3-.5.3-.5.8-1.6.1-.2 0-.4 0-.6l-.9-2.2c-.2-.5-.5-.5-.7-.5h-.6c-.2 0-.6.1-.9.4-.3.3-1.2 1.2-1.2 2.9s1.3 3.4 1.5 3.6c.2.2 2.5 3.8 6 5.3 2.2.9 3 .9 4.1.8.7-.1 1.7-.7 1.9-1.4.2-.7.2-1.3.1-1.4-.1-.1-.4-.2-.7-.3z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 3.5A11.8 11.8 0 0 0 12.1 0C5.6 0 .3 5.3.3 11.8c0 2.1.5 4.1 1.6 5.9L.2 24l6.5-1.7a11.8 11.8 0 0 0 5.4 1.4h.1c6.5 0 11.8-5.3 11.8-11.8 0-3.2-1.2-6.1-3.5-8.4zM12.2 21.7h-.1a9.8 9.8 0 0 1-5-1.4l-.4-.2-3.9 1 1-3.8-.2-.4a9.7 9.7 0 1 1 8.6 4.8zm5.4-7.3c-.3-.1-1.7-.8-2-.9-.3-.1-.5-.1-.7.1-.2.3-.8 1-.9 1.1-.2.2-.3.2-.6.1-1.7-.8-2.8-1.5-3.9-3.4-.3-.5.3-.5.8-1.6.1-.2 0-.4 0-.6l-.9-2.2c-.2-.5-.5-.5-.7-.5h-.6c-.2 0-.6.1-.9.4-.3.3-1.2 1.2-1.2 2.9s1.3 3.4 1.5 3.6c.2.2 2.5 3.8 6 5.3 2.2.9 3 .9 4.1.8.7-.1 1.7-.7 1.9-1.4.2-.7.2-1.3.1-1.4-.1-.1-.4-.2-.7-.3z'/%3E%3C/svg%3E");
}

.contact-social-strip__item--zillow a::before {
    content: "Z";
    display: grid;
    place-items: center;
    background: none;
    color: var(--contact-gold);
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    -webkit-mask-image: none;
    mask-image: none;
}

.contact-social-strip__item--text a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5.5h16a1 1 0 0 1 1 1v9.2a1 1 0 0 1-1 1H8.8L4.7 20a.5.5 0 0 1-.8-.4v-3H4a1 1 0 0 1-1-1V6.5a1 1 0 0 1 1-1zm.7 2v7.5H20V7.5H4.7z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5.5h16a1 1 0 0 1 1 1v9.2a1 1 0 0 1-1 1H8.8L4.7 20a.5.5 0 0 1-.8-.4v-3H4a1 1 0 0 1-1-1V6.5a1 1 0 0 1 1-1zm.7 2v7.5H20V7.5H4.7z'/%3E%3C/svg%3E");
}

.contact-social-strip__item span:last-child { color: var(--contact-gold); font-family: Arial, sans-serif; }
.contact-social-strip__item a:hover { background: rgba(163,127,71,.06); }
.contact-social-strip__item--pending { color: rgba(45,40,34,.58); }

/* Form */
.contact-form-section {
    padding: 70px max(60px, calc((100vw - 1280px) / 2)) 112px;
    background: #fff;
}

.contact-form-panel {
    width: min(100%, 1080px);
    margin: 0 auto;
    padding: clamp(38px, 5vw, 64px);
    background: var(--contact-cream);
}

.contact-form-panel h2 { max-width: 720px; }
.contact-form-panel__intro { max-width: 680px; }
.diana-contact-form-wrap { margin-top: 34px; }

.diana-contact-form {
    position: relative;
    display: grid;
    gap: 22px;
}

.diana-form-grid--two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.diana-field { display: grid; gap: 8px; }

.diana-field label {
    color: #6b6258;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.diana-field input,
.diana-field select,
.diana-field textarea {
    width: 100%;
    border: 1px solid rgba(23, 19, 15, .18);
    border-radius: 0;
    padding: 13px 14px;
    color: var(--contact-ink);
    background: rgba(255,255,255,.82);
    font: inherit;
    font-size: 15px;
    box-shadow: none;
}

.diana-field input,
.diana-field select { min-height: 49px; }
.diana-field textarea { min-height: 150px; resize: vertical; }

.diana-field input:focus,
.diana-field select:focus,
.diana-field textarea:focus {
    outline: 1px solid var(--contact-gold);
    border-color: var(--contact-gold);
}

.diana-form-note,
.diana-form-privacy {
    margin: -5px 0 0;
    color: #7f756b;
    font-size: 11px;
    line-height: 1.55;
}

.diana-form-submit {
    width: fit-content;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 0;
    color: #fff;
    background: var(--contact-ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    cursor: pointer;
}

.diana-form-submit:hover { background: #2c241d; }

.diana-form-status {
    margin-bottom: 22px;
    padding: 13px 15px;
    border: 1px solid var(--contact-line);
    font-size: 13px;
    line-height: 1.55;
    background: #fff;
}

.diana-form-status--success { border-color: rgba(83,112,76,.35); }
.diana-form-status--error { border-color: rgba(141,73,66,.35); }

.diana-form-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Process */
.contact-expect {
    padding: 112px max(60px, calc((100vw - 1280px) / 2)) 118px;
    color: #f8f3eb;
    background: #17130f;
}

.contact-section-heading { max-width: 780px; margin-bottom: 54px; }
.contact-expect h2 { color: #f8f3eb; }

.contact-expect__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(199,165,109,.3);
    border-bottom: 1px solid rgba(199,165,109,.22);
}

.contact-expect__item {
    min-height: 270px;
    padding: 40px 36px 42px;
}

.contact-expect__item + .contact-expect__item { border-left: 1px solid rgba(199,165,109,.22); }

.contact-expect__number {
    margin: 0 0 53px;
    color: #c7a56d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
}

.contact-expect__item h3 {
    margin: 0 0 14px;
    color: #f8f3eb;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 400;
}

.contact-expect__item p:last-child {
    max-width: 340px;
    margin: 0;
    color: rgba(248,243,235,.7);
    font-size: 14px;
    line-height: 1.75;
}

/* Language */
.contact-language {
    padding: 106px max(60px, calc((100vw - 1280px) / 2)) 112px;
    background: #eee7dc;
}

.contact-language__grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, .78fr);
    gap: clamp(70px, 8vw, 130px);
    align-items: end;
}

.contact-language__copy {
    padding-top: 29px;
    border-top: 1px solid var(--contact-line);
}

.contact-language__copy p {
    margin: 0;
    color: var(--contact-muted);
    font-size: 15px;
    line-height: 1.82;
}

@media (max-width: 1100px) {
    .contact-hero__grid {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        min-height: 0;
    }

    .contact-hero__content { padding: 58px 36px 62px 40px; }

    .contact-hero h1 {
        max-width: 500px;
        font-size: clamp(48px, 5.6vw, 60px);
        line-height: 1.01;
    }

    .contact-hero__lead {
        margin-top: 25px;
        font-size: 15px;
        line-height: 1.7;
    }

    .contact-hero__media { min-height: 560px; }

    .contact-direct-section,
    .contact-form-section,
    .contact-expect,
    .contact-language {
        padding-left: 40px;
        padding-right: 40px;
    }

    .contact-direct-section__grid { gap: 54px; }

    .contact-social-strip { width: calc(100% - 80px); padding: 0 14px; }
    .contact-social-strip__inner { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 8px 0; }
    .contact-social-strip__eyebrow { margin: 0; }
    .contact-social-strip__item a,
    .contact-social-strip__item--pending { padding: 0 7px; font-size: 11px; }

    .contact-form-panel { width: min(100%, 820px); }
}

@media (max-width: 767px) {
    .contact-hero__grid,
    .contact-direct-section__grid,
    .contact-expect__grid,
    .contact-language__grid,
    .diana-form-grid--two {
        grid-template-columns: 1fr;
    }

    .contact-hero__content { padding: 58px 24px 62px; }

    .contact-hero h1 {
        max-width: 100%;
        font-size: clamp(44px, 13vw, 58px);
    }

    .contact-hero__media { min-height: 460px; }
    .contact-hero__image img { object-position: center 20%; }

    .contact-direct-section,
    .contact-form-section,
    .contact-expect,
    .contact-language { padding: 76px 24px 80px; }

    .contact-direct-section__grid,
    .contact-language__grid { gap: 46px; }

    .contact-detail__value { font-size: 22px; }

    .contact-social-strip {
        width: 100%;
        padding: 0 10px;
        border-left: 0;
        border-right: 0;
    }

    .contact-social-strip__inner {
        display: block;
        min-height: 0;
        padding: 8px 0 9px;
    }

    .contact-social-strip__eyebrow {
        display: block;
        margin: 0 0 4px;
        text-align: center;
        font-size: 7px;
        letter-spacing: .16em;
    }

    .contact-social-strip__links {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: center;
        overflow: visible;
    }

    .contact-social-strip__item {
        border-left: 1px solid rgba(163,127,71,.18);
    }

    .contact-social-strip__item:first-child { border-left: 0; }
    .contact-social-strip__item:last-child { border-right: 0; }

    .contact-social-strip__item a,
    .contact-social-strip__item--pending {
        min-height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 0 1px;
        font-family: Georgia, "Times New Roman", serif;
        font-size: clamp(7.2px, 2.15vw, 9px);
        font-weight: 400;
        line-height: 1;
        white-space: nowrap;
    }

    .contact-social-strip__item a::before {
        display: block;
        width: 12px;
        height: 12px;
        flex: 0 0 12px;
    }

    .contact-social-strip__item a span { display: none; }

    .contact-social-strip__item--zillow a::before {
        display: grid;
        font-size: 10px;
    }

    .contact-form-panel { padding: 30px 22px; }

    .contact-expect__item {
        min-height: 0;
        padding: 32px 0 35px;
        border-left: 0 !important;
        border-bottom: 1px solid rgba(199,165,109,.22);
    }

    .contact-expect__item:last-child { border-bottom: 0; }
    .contact-expect__number { margin-bottom: 32px; }
}


/* Approved form contrast correction — intentionally stronger than Blocksy form defaults. */
.contact-form-panel {
    --theme-form-field-background-initial-color: #fff;
}

.contact-form-panel .diana-field input:not([type="hidden"]),
.contact-form-panel .diana-field select,
.contact-form-panel .diana-field textarea {
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
    border-color: rgba(23, 19, 15, .24) !important;
    box-shadow: none !important;
}

.contact-form-panel .diana-field input:not([type="hidden"]):focus,
.contact-form-panel .diana-field select:focus,
.contact-form-panel .diana-field textarea:focus {
    background: #fff !important;
    border-color: var(--contact-gold) !important;
    outline: 1px solid var(--contact-gold) !important;
    box-shadow: none !important;
}

.contact-form-panel .diana-form-submit {
    color: #fff !important;
    background: var(--contact-ink) !important;
    border: 1px solid var(--contact-ink) !important;
    box-shadow: none !important;
}

.contact-form-panel .diana-form-submit:hover,
.contact-form-panel .diana-form-submit:focus {
    color: #fff !important;
    background: var(--contact-gold) !important;
    border-color: var(--contact-gold) !important;
}
