/* ==========================================================================
   Book Your Appointment Section Styling (ab- prefix namespace)
   ========================================================================== */

#appointment-section {
    background-color: #FAF8F5;
    padding: 40px 0 32px;
    position: relative;
    overflow: hidden;
}

.ab-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

/* ── Fading Green Top Divider Bar ───────────────────────────────────────── */
.ab-top-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto 32px auto;
    padding-top: 10px;
}

.ab-top-bar__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg,
            rgba(26, 102, 64, 0) 0%,
            rgba(26, 102, 64, 0.35) 50%,
            rgba(26, 102, 64, 0) 100%);
}

.ab-top-bar__icon {
    width: 24px;
    height: 24px;
    color: #1a6640;
    margin: 0 16px;
    flex-shrink: 0;
    opacity: 0.7;
}

.ab-top-bar__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ── Two-Column Layout Grid ────────────────────────────────────────────── */
.ab-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 36px;
    align-items: center;
}

/* ── Left Column Info ──────────────────────────────────────────────────── */
.ab-info-col {
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.ab-logo-wrap {
    margin-bottom: 20px;
}

.ab-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.ab-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1a6640;
    margin: 0 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ab-leaf-ornament {
    font-size: 12px;
}

.ab-leaf-ornament--flip {
    transform: scaleX(-1);
    display: inline-block;
}

.ab-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 40px;
    font-weight: 700;
    color: #1a2e22;
    line-height: 1.1;
    margin: 0 0 8px;
}

.ab-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #c49e4f;
    margin: 0 0 8px;
}

.ab-description {
    font-size: 13px;
    line-height: 1.45;
    color: #5a6e62;
    margin: 0 0 16px;
}

/* Illustration Image */
.ab-visual {
    margin: 0 0 12px;
    max-width: 240px;
}

.ab-visual-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* 3 Feature cards block */
.ab-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    max-width: 100%;
}

.ab-feature-card {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid #eae3d6;
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ab-feature-icon-circle {
    width: 32px;
    height: 32px;
    background-color: #FAF8F5;
    border: 1px solid #eae3d6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a6640;
    flex-shrink: 0;
}

.ab-feature-icon-circle svg {
    width: 15px;
    height: 15px;
}

.ab-feature-text-wrap h4 {
    font-size: 11px;
    font-weight: 700;
    color: #1a2e22;
    margin: 0 0 1px;
    line-height: 1.25;
}

.ab-feature-text-wrap p {
    font-size: 9.5px;
    color: #66796d;
    margin: 0;
    line-height: 1.25;
}

/* ── Right Column Form Card ────────────────────────────────────────────── */
.ab-form-col {
    z-index: 2;
}

.ab-form-card {
    background-color: #fff;
    border-radius: 16px;
    border: 1px solid #EAE3D6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    padding: 28px;
}

/* Form Header */
.ab-form-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-bottom: 1.5px solid #F6F3ED;
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.ab-form-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #FAF8F5;
    border: 1.5px solid rgba(196, 158, 79, 0.25);
    color: #1a6640;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ab-form-header-icon svg {
    width: 22px;
    height: 22px;
}

.ab-form-header-text h3 {
    font-family: 'Georgia', serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a2e22;
    margin: 0 0 2px;
}

.ab-form-header-text p {
    font-size: 12px;
    color: #66796d;
    margin: 0;
}

/* Form Fields */
.ab-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

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

.ab-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ab-form-group label {
    font-size: 11px;
    font-weight: 700;
    color: #1f2b24;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Inside Input Icon wrappers */
.ab-input-wrapper {
    position: relative;
    width: 100%;
}

.ab-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #5a8264;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
}

.ab-input-icon svg {
    width: 15px;
    height: 15px;
}

.ab-input-icon--textarea {
    top: 18px;
    transform: none;
}

/* Form Elements */
.ab-form input[type="text"],
.ab-form input[type="tel"],
.ab-form input[type="date"],
.ab-form select,
.ab-form textarea {
    width: 100%;
    padding: 10px 12px 10px 36px;
    font-size: 13px;
    color: #1f2b24;
    background-color: #fff;
    border: 1px solid #EAE3D6;
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ab-form input::placeholder,
.ab-form textarea::placeholder {
    color: #a0b0a5;
    opacity: 1;
}

.ab-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a6640' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
}

.ab-form input:focus,
.ab-form select:focus,
.ab-form textarea:focus {
    border-color: #1a6640;
    box-shadow: 0 0 0 3px rgba(26, 102, 100, 0.08);
}

.ab-form textarea {
    resize: none;
}

/* Info Alert strip */
.ab-info-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #F6F8F3;
    border: 1px solid #E1E8DC;
    border-radius: 8px;
    padding: 10px 14px;
}

.ab-info-alert-icon {
    color: #1a6640;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ab-info-alert-icon svg {
    width: 16px;
    height: 16px;
}

.ab-info-alert-text strong {
    font-size: 11px;
    font-weight: 700;
    color: #1a2e22;
    display: block;
    margin-bottom: 2px;
}

.ab-info-alert-text p {
    font-size: 11px;
    color: #5a6e62;
    margin: 0;
    line-height: 1.35;
}

/* Submit Button */
.ab-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #1a4028;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 64, 40, 0.15);
}

.ab-submit-btn:hover {
    background-color: #12301c;
    transform: translateY(-2px);
}

.ab-btn-icon {
    width: 16px;
    height: 16px;
}

.ab-btn-arrow {
    font-weight: 700;
    transition: transform 0.3s ease;
}

.ab-submit-btn:hover .ab-btn-arrow {
    transform: translateX(4px);
}

/* Privacy Note */
.ab-privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 10.5px;
    color: #66796d;
    text-align: center;
    margin-top: 4px;
}

.ab-lock-icon {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
}

/* ── Responsive Refinements ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .ab-layout {
        gap: 24px;
    }

    .ab-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    #appointment-section {
        padding: 40px 0;
    }

    .ab-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .ab-info-col {
        align-items: center;
        text-align: center;
    }

    .ab-eyebrow {
        justify-content: center;
    }

    .ab-features-grid {
        grid-template-columns: 1fr;
        margin: 0 auto;
        width: 100%;
    }

    .ab-form-card {
        padding: 20px;
    }
}

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