/* ═══ MODAL ═══ */
.modal-bg {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 999;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    overflow-y: auto;
}
.modal-bg.open { display: flex; }
.modal-card {
    background: white;
    max-width: 880px;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal-top {
    background: var(--black);
    color: white;
    padding: 28px 36px;
    position: relative;
}
.modal-top h2 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    padding-right: 40px;
}
.modal-top .m-sub { font-size: 14px; opacity: 0.6; margin-top: 6px; }
.modal-x {
    position: absolute; top: 20px; right: 24px;
    background: none; border: none; color: white; font-size: 28px;
    cursor: pointer; opacity: 0.6; line-height: 1;
}
.modal-x:hover { opacity: 1; }
.modal-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-bottom: 1px solid var(--border);
}
.m-field {
    padding: 16px 24px;
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.m-field:nth-child(3n) { border-right: none; }
.m-field .mfl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--light-text); margin-bottom: 4px; }
.m-field .mfv { font-size: 14px; font-weight: 500; color: var(--dark); }
.modal-section { padding: 24px 36px; border-bottom: 1px solid var(--border-light); }
.modal-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--black);
}
.modal-section p {
    font-family: 'Lora', Georgia, serif;
    font-size: 14.5px;
    line-height: 1.8;
    color: #333;
}
.modal-hn-box {
    background: var(--gold-light);
    border-left: 3px solid var(--gold);
    padding: 24px 28px;
    font-family: 'Lora', Georgia, serif;
    font-size: 14.5px;
    line-height: 1.85;
    color: #333;
    text-align: justify;
    margin: 0 36px 24px;
    border-radius: 0 4px 4px 0;
}
.modal-foot {
    padding: 16px 36px 24px;
}
.modal-foot a {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}
.modal-foot a:hover { text-decoration: underline; }
