/* ===============================
   CONTACT PAGE - ELEGANT & CLEAN
================================ */

/* ── Hero Banner ──────────────────────────────────────── */
.contact-hero-banner {
    position: relative;
    height: 40vh;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
    z-index: 0;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5,4,3,0.35) 0%, rgba(5,4,3,0.50) 60%, rgba(5,4,3,0.72) 100%);
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.contact-hero-diamond {
    display: block;
    font-size: 16px;
    color: #C9A96E;
    margin-bottom: 22px;
    letter-spacing: 8px;
    opacity: 0.9;
}

.contact-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(54px, 9vw, 100px);
    font-weight: 700;
    color: #ffffff;
    line-height: 0.95;
    margin: 0 0 24px 0;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.contact-hero-title em {
    color: #C9A96E;
    font-style: italic;
    letter-spacing: -1px;
}

.contact-hero-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.6;
    font-family: 'Open Sans', sans-serif;
}

/* ── Main Contact Section ─────────────────────────────── */
.contact-elegant-main {
    padding: 90px 0 110px;
    background: #ffffff;
}

/* ── Section Titles ───────────────────────────────────── */
.elegant-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 700;
    color: #111110;
    margin-bottom: 14px;
    line-height: 1.05;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

/* ── Left: Contact Info ───────────────────────────────── */
.elegant-info-wrapper-compact {
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: none;
    height: 100%;
}

.compact-info-grid {
    display: grid;
    gap: 0;
    margin-bottom: 28px;
}

.compact-info-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 12px;
}

.compact-info-item:last-child { margin-bottom: 0; }

.compact-info-item i {
    width: 44px;
    height: 44px;
    background: rgba(171,150,108,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #AB966C;
    flex-shrink: 0;
}

.compact-info-item strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #AB966C;
    margin-bottom: 6px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.compact-info-item p {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    margin: 0;
}

.compact-info-item a {
    color: #444;
    text-decoration: none;
}

.compact-info-item a:hover { color: #AB966C; }

/* ── Right: Form Card ─────────────────────────────────── */
.elegant-form-wrapper {
    background: #F5F0E6;
    padding: 50px;
    border-radius: 20px;
}

.elegant-form-wrapper .elegant-section-title {
    font-size: 38px;
    margin-bottom: 24px;
}

/* ── Form Inputs (static HTML form) ──────────────────── */
.elegant-form-group { margin-bottom: 18px; }

.elegant-input,
.elegant-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #E2D9C8;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #ffffff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    font-family: 'Open Sans', sans-serif;
    outline: none;
}

.elegant-input:focus,
.elegant-textarea:focus {
    border-color: #AB966C;
    box-shadow: 0 0 0 3px rgba(171,150,108,0.12);
}

.elegant-input::placeholder,
.elegant-textarea::placeholder {
    color: #C0B8AA;
    font-size: 13px;
}

.elegant-textarea { resize: vertical; min-height: 130px; }

.elegant-submit-btn {
    width: 100%;
    padding: 16px 40px;
    background: #111110;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    margin-top: 8px;
    display: block;
}

.elegant-submit-btn:hover {
    background: #AB966C;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(171,150,108,0.30);
}

/* ── CF7 Overrides ────────────────────────────────────── */
.elegant-form-wrapper .wpcf7-form p { margin-bottom: 18px; }

.elegant-form-wrapper .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Text, email, tel, textarea — NOT checkbox or submit */
.elegant-form-wrapper .wpcf7-text,
.elegant-form-wrapper .wpcf7-email,
.elegant-form-wrapper .wpcf7-tel,
.elegant-form-wrapper .wpcf7-textarea,
.elegant-form-wrapper .wpcf7-select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #E2D9C8;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #ffffff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    font-family: 'Open Sans', sans-serif;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.elegant-form-wrapper .wpcf7-text:focus,
.elegant-form-wrapper .wpcf7-email:focus,
.elegant-form-wrapper .wpcf7-tel:focus,
.elegant-form-wrapper .wpcf7-textarea:focus {
    border-color: #AB966C;
    box-shadow: 0 0 0 3px rgba(171,150,108,0.12);
}

.elegant-form-wrapper .wpcf7-text::placeholder,
.elegant-form-wrapper .wpcf7-email::placeholder,
.elegant-form-wrapper .wpcf7-tel::placeholder,
.elegant-form-wrapper .wpcf7-textarea::placeholder {
    color: #C0B8AA;
    font-size: 13px;
}

.elegant-form-wrapper .wpcf7-textarea { min-height: 130px; resize: vertical; }

/* Submit button */
.elegant-form-wrapper .wpcf7-submit {
    width: 100%;
    padding: 16px 40px;
    background: #111110;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    margin-top: 8px;
}

.elegant-form-wrapper .wpcf7-submit:hover {
    background: #AB966C;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(171,150,108,0.30);
}

/* Validation */
.elegant-form-wrapper .wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.elegant-form-wrapper .wpcf7-response-output {
    margin: 16px 0 0;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 13px;
    border: none !important;
}

.elegant-form-wrapper .wpcf7-mail-sent-ok {
    background: #f0faf4;
    color: #27ae60;
    border-left: 3px solid #27ae60 !important;
}

.elegant-form-wrapper .wpcf7-mail-sent-ng {
    background: #fdf0f0;
    color: #e74c3c;
    border-left: 3px solid #e74c3c !important;
}

.elegant-form-wrapper .wpcf7-spinner { display: none; }

/* ── Marketing Consent Checkboxes ────────────────────── */
.marketing-consent-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.consent-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: #555;
    line-height: 1.5;
    position: relative;
}

/* Hide native checkbox — CF7 may wrap it in <p>, so we use JS class instead of ~ sibling selector */
.consent-item input[type="checkbox"],
.consent-item p input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    pointer-events: none !important;
}

/* Default = unchecked (transparent box) */
.consent-box {
    display: block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid #C9A96E;
    border-radius: 4px;
    background: transparent;
    margin-top: 2px;
    flex-shrink: 0;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

/* Checked state — driven by JS class .is-consent-checked */
.consent-item.is-consent-checked .consent-box {
    background: #C9A96E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 4.5l3 3L10 1'/%3E%3C/svg%3E") no-repeat center;
}

.consent-item:hover .consent-box {
    border-color: #A8863E;
    box-shadow: 0 0 0 3px rgba(201,169,110,0.12);
}

.consent-text { font-size: 13px; color: #555; line-height: 1.5; }
.consent-text strong { color: #111110; font-weight: 600; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 991px) {
    .elegant-section-title { font-size: 40px; }
    .elegant-form-wrapper { padding: 40px; }
    .contact-elegant-main { padding: 60px 0 80px; }
}

@media (max-width: 768px) {
    .elegant-form-wrapper { padding: 30px; border-radius: 14px; }
    .elegant-section-title { font-size: 34px; }
    .contact-elegant-main { padding: 50px 0 60px; }
    .compact-map { height: 180px; }
}

@media (max-width: 480px) {
    .elegant-form-wrapper { padding: 24px 20px; }
    .elegant-section-title { font-size: 30px; }
    .compact-info-item { gap: 12px; }
    .compact-info-item i { width: 38px; height: 38px; font-size: 15px; }
}
