/* =====================================================
   CONSULTATION PAGE CSS
   Designed to exactly match the contact page style
   ===================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

section { width: 100%; box-sizing: border-box; }

/* Scroll bar */
.scroll-progress-bar {
    position: fixed; top: 0; left: 0; width: 0%; height: 4px;
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 50%, #f97316 100%);
    z-index: 9999; transition: width 0.1s linear; pointer-events: none;
    box-shadow: 0 2px 8px rgba(59,130,246,0.4);
}

/* Inner containers */
.consult-hero-container,
.consult-content {
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
}

/* =====================================================
   HERO — identical to contact-hero
   ===================================================== */

.consult-hero {
    min-height: 60vh;
    background: linear-gradient(180deg, #ffffff 0%, #fef3f2 30%, #fff7ed 60%, #fef3f2 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.consult-hero::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
    border-radius: 50%; top: -100px; right: -100px;
    animation: float 25s ease-in-out infinite; z-index: 0;
}

.consult-hero::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(249,115,22,0.06) 0%, transparent 70%);
    border-radius: 50%; bottom: -80px; left: -80px;
    animation: float 20s ease-in-out infinite reverse; z-index: 0;
}

@keyframes float {
    0%,100% { transform: translate(0,0) scale(1); }
    33%      { transform: translate(40px,-40px) scale(1.1); }
    66%      { transform: translate(-30px,30px) scale(0.95); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to   { opacity: 1; transform: translateY(0); }
}

.consult-hero-container {
    position: relative; z-index: 1; text-align: center;
}

/* Breadcrumb */
.consult-breadcrumb {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.9rem; color: #64748b; margin-bottom: 1.5rem;
}
.consult-breadcrumb a {
    color: #3b82f6; text-decoration: none; font-weight: 600;
}
.consult-breadcrumb a:hover { text-decoration: underline; }

/* Badge — same as .hero-badge on contact */
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.8rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #bfdbfe;
    padding: 0.75rem 2rem; border-radius: 100px;
    color: #1e40af; font-weight: 600; margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(59,130,246,0.12), 0 2px 8px rgba(59,130,246,0.08);
    animation: fadeInUp 1s ease 0.2s both;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 10px; height: 10px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.7); transform: scale(1); }
    50%      { box-shadow: 0 0 0 12px rgba(16,185,129,0); transform: scale(1.1); }
}

/* Title — same as .hero-title on contact */
.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s both;
    letter-spacing: -0.02em;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.35rem; color: #64748b;
    max-width: 750px; margin: 0 auto 2rem;
    line-height: 1.85;
    animation: fadeInUp 1s ease 0.4s both;
    font-weight: 400;
}

/* Rate pill */
.hero-rate {
    display: inline-flex; align-items: center; gap: 1rem;
    background: #ffffff; border: 2px solid #e0e7ff;
    padding: 1.1rem 2.5rem; border-radius: 20px;
    font-size: 1.1rem; font-weight: 700; color: #0f172a;
    box-shadow: 0 20px 60px rgba(59,130,246,0.08);
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-rate__amount {
    font-size: 2.2rem; font-weight: 900;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* =====================================================
   MAIN BOOKING SECTION
   ===================================================== */

.consult-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.consult-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* ── LEFT: Form card — same as .contact-form-wrapper ── */
.consult-form-col {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border: 2px solid #f1f5f9;
    border-radius: 28px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.04);
}

.form-section-title {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 2rem; font-weight: 800; color: #0f172a;
    margin-bottom: 0.6rem;
}

.form-section-sub {
    font-size: 1.05rem; color: #64748b;
    margin-bottom: 2.5rem; line-height: 1.7;
}

/* Form groups — same as contact form */
.form-group { margin-bottom: 1.75rem; }

.form-label {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.95rem; font-weight: 700; color: #334155;
    margin-bottom: 0.8rem;
}

.form-required { color: #ef4444; }

.form-optional {
    background: #dbeafe; color: #1e40af;
    padding: 0.15rem 0.65rem; border-radius: 20px;
    font-size: 0.75rem; font-weight: 600;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #0f172a;
    background: #ffffff;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59,130,246,0.1);
}

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

.form-datetime { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-phone    { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; }

.form-charcount {
    text-align: right; color: #9ca3af;
    font-size: 0.83rem; margin-top: 0.4rem;
}

/* Terms box */
.consult-terms {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 2px solid #fed7aa;
    border-radius: 20px; padding: 1.75rem; margin: 1.5rem 0;
}

.consult-terms__title {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 1.1rem; font-weight: 800; color: #c2410c; margin-bottom: 1rem;
}

.consult-terms__list { list-style: none; padding: 0; margin: 0; }

.consult-terms__list li {
    display: flex; align-items: flex-start; gap: 0.75rem;
    padding: 0.6rem 0; color: #92400e;
    font-size: 0.95rem; line-height: 1.6;
    border-bottom: 1px solid rgba(249,115,22,0.12);
}
.consult-terms__list li:last-child { border-bottom: none; }
.consult-terms__list li::before {
    content: '→'; color: #f97316; font-weight: 700;
    flex-shrink: 0; margin-top: 2px;
}

/* Submit button */
.consult-submit {
    width: 100%;
    background: linear-gradient(135deg, #0070ba 0%, #1546a0 100%);
    color: #fff; padding: 1.25rem 2rem; border-radius: 14px; border: none;
    font-weight: 800; font-size: 1.1rem; cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    display: flex; align-items: center; justify-content: center; gap: 1rem;
    box-shadow: 0 8px 24px rgba(0,112,186,0.35); margin-top: 2rem;
    position: relative; overflow: hidden;
}

.consult-submit::before {
    content: ''; position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s ease;
}
.consult-submit:hover::before { left: 100%; }
.consult-submit:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,112,186,0.45); }

.consult-submit__paypal {
    font-style: italic; font-weight: 900;
    letter-spacing: 0.5px; opacity: 0.9; font-size: 1rem;
}

/* Refund / guarantee */
.consult-refund {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 2px solid #86efac;
    border-radius: 20px; padding: 1.75rem; margin-top: 2rem;
}

.consult-refund__title {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 1.05rem; font-weight: 800; color: #15803d; margin-bottom: 0.65rem;
}

.consult-refund__text { color: #166534; font-size: 0.95rem; line-height: 1.7; }

/* ── RIGHT: Summary column ── */
.consult-summary-col {
    position: sticky; top: 100px;
    display: flex; flex-direction: column; gap: 2rem;
}

/* Summary card — same shadow/radius as .info-card */
.consult-summary {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border: 2px solid #f1f5f9;
    border-radius: 28px; padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.04);
}

.consult-summary__title {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 1.5rem; font-weight: 900; color: #0f172a;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem; border-bottom: 2px solid #f1f5f9;
}

.consult-summary__item {
    background: #f8fafc; padding: 1.2rem 1.5rem;
    border-radius: 14px; margin-bottom: 1rem;
    border: 2px solid #f1f5f9; transition: all 0.3s ease;
}

.consult-summary__item.has-value {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%);
    border-color: #bfdbfe;
}

.consult-summary__label {
    font-size: 0.78rem; font-weight: 700; color: #94a3b8;
    text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 0.35rem;
}

.consult-summary__value {
    font-size: 1.05rem; font-weight: 800; color: #0f172a;
}

.consult-summary__value.placeholder {
    color: #cbd5e1; font-weight: 500; font-style: italic; font-size: 0.9rem;
}

/* Total block */
.consult-summary__total {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #fff; padding: 2rem; border-radius: 20px;
    text-align: center; margin-top: 1.5rem;
    box-shadow: 0 12px 32px rgba(30,64,175,0.25);
}

.consult-summary__total-label {
    font-size: 0.85rem; font-weight: 600; opacity: 0.85;
    margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.5px;
}

.consult-summary__total-amount {
    font-size: 3.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 0.3rem;
}

.consult-summary__total-note { font-size: 0.85rem; opacity: 0.8; }

.consult-summary__total-offer {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 100px; padding: 0.4rem 1rem;
    font-size: 0.78rem; font-weight: 700; margin-top: 1rem;
}

/* Benefits card */
.consult-benefits-card {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border: 2px solid #f1f5f9;
    border-radius: 28px; padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

.consult-benefits-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(59,130,246,0.1);
    border-color: #dbeafe;
}

.consult-benefits-card h4 {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 1.15rem; font-weight: 800; color: #0f172a; margin-bottom: 1.5rem;
    padding-bottom: 1rem; border-bottom: 2px solid #f1f5f9;
}

.consult-benefits { list-style: none; padding: 0; margin: 0; }

.consult-benefits li {
    display: flex; align-items: flex-start; gap: 0.9rem;
    color: #374151; font-size: 0.95rem; line-height: 1.5;
    padding: 0.55rem 0; border-bottom: 1px solid #f8fafc;
}
.consult-benefits li:last-child { border-bottom: none; }

.consult-benefits li::before {
    content: '✓';
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #fff; min-width: 22px; height: 22px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 0.7rem; flex-shrink: 0; margin-top: 1px;
    box-shadow: 0 4px 8px rgba(16,185,129,0.3);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1200px) {
    .consult-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .consult-grid { grid-template-columns: 1fr; gap: 3rem; }
    .consult-summary-col { position: static; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .form-datetime,
    .form-phone { grid-template-columns: 1fr; }
    .consult-form-col { padding: 2rem 1.5rem; }
    .consult-summary { padding: 2rem 1.5rem; }
    .consult-benefits-card { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .consult-hero,
    .consult-section { padding: 3.5rem 0; }
    .hero-rate { flex-wrap: wrap; justify-content: center; gap: 0.4rem; padding: 1rem 1.5rem; }
}

/* ── COMPREHENSIVE MOBILE RESPONSIVE ADDITIONS ── */

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.65rem;
        line-height: 1.3;
    }
    .hero-subtitle {
        font-size: 0.92rem;
    }
    .hero-badge {
        font-size: 0.82rem;
        padding: 0.45rem 1rem;
    }
    .consult-hero,
    .consult-section {
        padding: 3rem 0 2rem;
    }
    .consult-form-col,
    .consult-summary,
    .consult-benefits-card {
        padding: 1.5rem 1.2rem;
        border-radius: 18px;
    }
    .form-group label {
        font-size: 0.88rem;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }
    .consult-submit-btn {
        font-size: 1rem;
        padding: 1rem;
    }
}

@media (max-width: 360px) {
    .hero-title { font-size: 1.4rem; }
}

@media (hover: none) and (pointer: coarse) {
    .consult-submit-btn {
        min-height: 48px;
        -webkit-tap-highlight-color: transparent;
    }
}
