/* Contact card: opens from any "Contact Daniel" button. Details are added by script only after the click. */
.contact-open { min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 550; color: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.contact-card { width: min(440px, calc(100% - 32px)); padding: 0; border: 1px solid #adb9d3; border-radius: 14px; background: #fdfcfa; color: #171821; font-family: 'Avenir Next', 'Segoe UI', Arial, sans-serif; box-shadow: 0 30px 70px -30px #17182199; }
.contact-card::backdrop { background: #1718216b; }
.contact-card-body { display: grid; gap: 14px; padding: 22px; }
.contact-card-head { display: flex; align-items: center; gap: 12px; }
.contact-card-head img { width: 56px; height: 56px; object-fit: cover; border: 1px solid #a7b4d1; border-radius: 12px; }
.contact-card-head h2 { flex: 1; margin: 0; font-size: 20px; letter-spacing: -.02em; }
.contact-card-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: #45516e; cursor: pointer; }
.contact-card-close:hover { background: #e7ebf8; }
.contact-card svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-card-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.contact-card-list a { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: clamp(13px, 3.9vw, 16px); font-weight: 650; color: #28397d; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-card form { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid #d3d9ea; }
.contact-card label { display: grid; gap: 6px; font-size: 14px; font-weight: 650; }
.contact-card input, .contact-card textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #adb9d3; border-radius: 8px; background: #fff; font: inherit; font-size: 16px; font-weight: 400; color: #171821; }
.contact-card-trap { position: absolute; left: -9999px; }
.contact-card-send { min-height: 48px; border: 1px solid #2e4490; border-radius: 6px; background: #293e8c; color: #fff; font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; }
.contact-card-send:hover { background: #1d2f75; }
.contact-card-send:disabled { opacity: .6; cursor: default; }
.contact-card-status { margin: 0; min-height: 1.4em; font-size: 14px; color: #45516e; }
.contact-card-status.error { color: #a3261b; }
.contact-card-status.ok { color: #0f6b34; font-weight: 650; }

.contact-card-reveal { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: clamp(13px, 3.9vw, 16px); font-weight: 650; color: #28397d; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
