/* ==============================================
   COSIONT HEART SRL — Contact Page Styles
   ============================================== */

/* --- Contact Info Cards --- */
.cst-contact-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: all 0.4s var(--cst-ease-fluid);
}
.cst-contact-card:hover {
    border-color: rgba(197, 160, 89, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.1);
}

/* --- Form Floating Labels --- */
.group input:focus ~ label,
.group input:not(:placeholder-shown) ~ label,
.group textarea:focus ~ label,
.group textarea:not(:placeholder-shown) ~ label,
.group select:focus ~ label,
.group select:valid ~ label {
    top: -1rem;
    font-size: 0.75rem;
    color: var(--cst-gold);
}

/* --- Form Input Borders --- */
.group input:focus,
.group textarea:focus,
.group select:focus {
    border-color: var(--cst-gold);
}

/* --- Submit Button Hover Effect --- */
form button[type="submit"] {
    position: relative;
    overflow: hidden;
}
form button[type="submit"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cst-gold);
    transform: translateX(-100%);
    transition: transform 0.4s var(--cst-ease-fluid);
    z-index: 0;
}
form button[type="submit"]:hover::before {
    transform: translateX(0);
}

/* --- Map Section --- */
.cst-map-section {
    filter: grayscale(0.8);
    transition: filter 0.7s ease;
}
.cst-map-section:hover {
    filter: grayscale(0);
}

/* --- Select Dropdown Arrow --- */
.group select {
    appearance: none;
    cursor: pointer;
}
