/* ==========================================================================
   contact.css — Raviva Dental
   contact.php: appointment booking form + clinic location/map section.
   ========================================================================== */

.booking-section {
    background: var(--cream);
}

.booking-section .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.booking-form {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.booking-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 8px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    color: var(--dark);
    background: var(--ice);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--brown-deep);
}

.booking-form button {
    justify-self: start;
    border: none;
    cursor: pointer;
}

.booking-form button[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
}

/* ---------- Radio groups (CDCP / existing patient — added v9.5.1) ---------- */
.form-radio-group {
    border: none;
    padding: 0;
    margin: 0;
}

.form-radio-group legend {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 8px;
    padding: 0;
    /* Legends don't span two lines gracefully by default in every
       browser — a fixed width keeps "Canadian Dental Care Plan (CDCP)"
       wrapping cleanly at the same point on every screen. */
    white-space: normal;
}

.form-radio-group .radio-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 22px;
    font-size: 15px;
    font-weight: 400;
    color: var(--dark);
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
}

.form-radio-group input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--brown-deep);
    cursor: pointer;
}

/* ---------- Honeypot spam trap (added v9.5.1) ----------
   Visually and functionally hidden from real visitors (moved off
   -screen rather than display:none, since some bots specifically skip
   display:none/visibility:hidden fields but still fill in anything
   still "visible" to the DOM) and skipped entirely by keyboard tab
   order. See contact/send-booking.php for the server-side check. */
.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-note {
    font-size: 13px;
    color: var(--ink-soft);
    margin-top: -6px;
}

.booking-info h3 {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 22px;
    color: var(--dark);
}

.info-row {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.info-row:last-child { border-bottom: none; }

.info-row i {
    color: var(--brown-deep);
    font-size: 18px;
    margin-top: 3px;
}

.info-row strong { display: block; color: var(--dark); margin-bottom: 3px; }
.info-row span, .info-row p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Location ---------- */
.location-section .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
    filter: saturate(0.85);
}

.location-copy {
    background: var(--dark);
    color: var(--white);
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-copy .eyebrow { color: var(--brown-mid); }
.location-copy h2 { color: var(--white); }
.location-copy p { color: rgba(255,255,255,0.7); margin-bottom: 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .booking-section .wrap,
    .location-section .wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
}
