﻿.package-layout {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

.package-calculator {

    width: 100%;
    max-width: 1180px;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto;
    padding: 40px 24px 60px;
    overflow: visible !important;
}


/* =========================
   Header
========================= */

.package-header {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.package-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1677ff;
    font-size: 13px;
    font-weight: 600;
}

.package-header h2 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.7;
}

.package-header p {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 2;
}


/* =========================
   Layout
========================= */

.package-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}


/* =========================
   Cards
========================= */

.package-card {
    margin-bottom: 20px;
    padding: 26px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, .04);
}

.card-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
}

.heading-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #eff6ff;
    color: #1677ff;
    font-size: 18px;
}

.card-heading h3 {
    margin: 0 0 3px;
    color: #111827;
    font-size: 17px;
    font-weight: 700;
}

.card-heading p {
    margin: 0;
    color: #9ca3af;
    font-size: 12px;
}


/* =========================
   Form
========================= */

.form-field {
    margin-bottom: 20px;
}

    .form-field:last-child {
        margin-bottom: 0;
    }

    .form-field label {
        display: block;
        margin-bottom: 8px;
        color: #374151;
        font-size: 14px;
        font-weight: 600;
    }

.package-select {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #d9dee7;
    border-radius: 10px;
    background: #fff;
    color: #374151;
    font-size: 14px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

    .package-select:hover {
        border-color: #aeb8c6;
    }

    .package-select:focus {
        border-color: #1677ff;
        box-shadow: 0 0 0 3px rgba(22, 119, 255, .10);
    }


/* =========================
   Services
========================= */

.service-list {
    display: grid;
    gap: 10px;
}

.service-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: background .2s, border-color .2s, transform .2s;
}

    .service-option:hover {
        background: #f8fbff;
        border-color: #9cc5ff;
    }

    .service-option.selected {
        background: #f1f7ff;
        border-color: #1677ff;
    }

    .service-option input {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
    }

.service-check {
    position: relative;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    transition: all .2s;
}

.service-option input:checked + .service-check {
    background: #1677ff;
    border-color: #1677ff;
}

    .service-option input:checked + .service-check::after {
        content: "✓";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -52%);
        color: white;
        font-size: 13px;
        font-weight: bold;
    }

.service-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .service-text strong {
        color: #1f2937;
        font-size: 14px;
    }

    .service-text small {
        color: #9ca3af;
        font-size: 12px;
    }


/* =========================
   Price Card
========================= */

.price-card {
    position: relative;
    top: auto;
    padding: 28px;
    overflow: hidden;
    color: white;
    background: linear-gradient( 145deg, #1677ff 0%, #075bcf 100% );
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(22, 119, 255, .22);
}

    .price-card::before {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        top: -80px;
        left: -70px;
        border-radius: 50%;
        background: rgba(255,255,255,.08);
    }

.price-card-header {
    position: relative;
    color: rgba(255,255,255,.85);
    font-size: 14px;
}

.price-value {
    position: relative;
    margin-top: 12px;
    display: flex;
    align-items: baseline;
    gap: 7px;
}

    .price-value span {
        font-size: 34px;
        font-weight: 800;
        letter-spacing: -.5px;
    }

    .price-value small {
        font-size: 14px;
        font-weight: 500;
    }

.price-note {
    margin: 8px 0 0;
    color: rgba(255,255,255,.7);
    font-size: 12px;
}

.per-person {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.2);
    font-size: 12px;
}

    .per-person strong {
        white-space: nowrap;
        font-size: 13px;
    }


/* =========================
   CTA
========================= */

.package-submit {
    position: relative;
    width: 100%;
    margin-top: 25px;
    padding: 14px 18px;
    border: 0;
    border-radius: 10px;
    background: white;
    color: #075bcf;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}

    .package-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,.15);
    }

    .package-submit span {
        margin-right: 8px;
    }


/* =========================
   Validation
========================= */

.text-danger {
    display: block;
    margin-top: 6px;
    color: #dc2626;
    font-size: 12px;
}


/* =========================
   Mobile
========================= */

@media (max-width: 767px) {

    .package-calculator {
        padding: 30px 16px 40px;
    }

    .package-header {
        margin-bottom: 25px;
    }

        .package-header h2 {
            font-size: 22px;
        }

        .package-header p {
            font-size: 13px;
        }

    .package-layout {
        grid-template-columns: 1fr;
    }

    .price-card {
        position: static;
        order: -1;
    }

    .package-card {
        padding: 20px;
    }

    .price-value span {
        font-size: 28px;
    }
}
