/* ========================================
   CONSULTATION PAGE - Mobile First
   ======================================== */

body.page-template-page-consultation,
body.page-template-page-consultation main,
body.page-template-page-consultation .consultation-page {
    background-color: #1D1D1D !important;
}

.consultation-page {
    color: #ffffff;
    font-family: "Eudoxus Sans", sans-serif;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.consultation-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* -------------------------------------------------
   HERO SECTION
   ------------------------------------------------- */
.consultation-hero {
    text-align: center;
    padding: 60px 0 40px;
}

.consultation-title {
    font-family: "Unbounded", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.consultation-title .highlight {
    color: #007cba;
}

.consultation-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* -------------------------------------------------
   CONTACT FORM
   ------------------------------------------------- */
.consultation-form-section {
    max-width: 700px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.form-group label .required {
    color: #007cba;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: "Eudoxus Sans", sans-serif;
    color: #ffffff;
    transition: border-color 0.2s ease;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select option {
    background: #2a2a2a;
    color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #007cba;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit Button */
.consultation-submit {
    align-self: flex-start;
    background: #007cba;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 600;
    font-family: "Eudoxus Sans", sans-serif;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.consultation-submit:hover {
    background: #0090db;
}

.consultation-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Feedback Messages */
.form-feedback {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-feedback.success {
    background: rgba(0, 200, 83, 0.12);
    border: 1px solid rgba(0, 200, 83, 0.3);
    color: #4cdf7f;
}

.form-feedback.error {
    background: rgba(255, 67, 54, 0.12);
    border: 1px solid rgba(255, 67, 54, 0.3);
    color: #ff6b63;
}

/* -------------------------------------------------
   DIVIDER
   ------------------------------------------------- */
.consultation-divider {
    text-align: center;
    position: relative;
    padding: 20px 0 40px;
    max-width: 700px;
    margin: 0 auto;
}

.consultation-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.consultation-divider span {
    position: relative;
    background: #1D1D1D;
    padding: 0 20px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* -------------------------------------------------
   CAL.COM EMBED
   ------------------------------------------------- */
.consultation-scheduler {
    padding-bottom: 80px;
}

#cal-embed {
    width: 100%;
    min-height: 600px;
    overflow: hidden;
    border-radius: 12px;
}

#cal-embed iframe {
    border-radius: 12px;
}

/* -------------------------------------------------
   TABLET (768px+)
   ------------------------------------------------- */
@media (min-width: 768px) {
    .consultation-container {
        padding: 0 40px;
    }

    .consultation-hero {
        padding: 80px 0 50px;
    }

    .consultation-title {
        font-size: 2.5rem;
    }

    .consultation-subtitle {
        font-size: 1.125rem;
    }

    .form-row {
        flex-direction: row;
    }

    #cal-embed {
        min-height: 700px;
    }
}

/* -------------------------------------------------
   DESKTOP (1024px+)
   ------------------------------------------------- */
@media (min-width: 1024px) {
    .consultation-hero {
        padding: 100px 0 60px;
    }

    .consultation-title {
        font-size: 3rem;
    }
}

/* -------------------------------------------------
   LARGE DESKTOP (1200px+)
   ------------------------------------------------- */
@media (min-width: 1200px) {
    .consultation-container {
        padding: 0;
    }
}
