/* CSS Document */

:root {
            --primary-color: #289a96;
            --light-gray: #f8f9fa;
            --medium-gray: #6c757d;
            --border-gray: #e9ecef;
            --light-border: #e5e5e5;
            --dark-gray: #9d9d9d;
            --spacing-unit: 1rem;
            --section-spacing: 2rem;
        }

        body {
            font-family: 'Nunito', sans-serif;
            color: var(--medium-gray);
            background-color: white;
        }

        .content-wrapper {
            padding-top: 2rem;
            padding-left: 1rem;
            padding-right: 1rem;
        }

        .page-header {
            margin-bottom: var(--section-spacing);
            position: relative;
            padding-bottom: 1.25rem;
            border-bottom: 1px solid rgba(40, 154, 150, 0.1);
        }
        
        /* Premium styling for the main title */
        .page-header h1 {
            font-family: 'Nunito', sans-serif;
            font-weight: 700;
            font-size: 2.2rem;
            color: #222;
            letter-spacing: -0.02em;
            line-height: 1.2;
            margin-bottom: 0.5rem;
            background: linear-gradient(to right, #222222, #289a96);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: inline-block;
            position: relative;
        }
        
        /* Subtitle style for year range */
        .page-header .year-range {
            font-size: 1.1rem;
            font-weight: 400;
            color: #555;
            letter-spacing: 0.01em;
            margin-top: 0.25rem;
            display: block;
        }
        
        /* Premium accent elements */
        .page-header:after {
            content: "";
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 80px;
            height: 3px;
            background: linear-gradient(to right, #289a96, #34b4a7);
            border-radius: 2px;
        }

        .image-gallery {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -ms-flex-wrap: wrap;
                flex-wrap: wrap;
            gap: 10px;
            margin-bottom: var(--section-spacing);
        }

        .main-image {
            width: 100%;
            height: 300px;
            -o-object-fit: cover;
               object-fit: cover;
            border-radius: 22px 22px 0 0;
        }

        .thumbnail-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            width: 100%;
        }

        .thumbnail {
            width: 100%;
            height: 150px;
            -o-object-fit: cover;
               object-fit: cover;
            border-radius: 0;
            cursor: pointer;
        }

        .thumbnail:nth-child(1) {
            -webkit-box-ordinal-group: 2;
                -ms-flex-order: 1;
                    order: 1;
        }

        .thumbnail:nth-child(2) {
            -webkit-box-ordinal-group: 3;
                -ms-flex-order: 2;
                    order: 2;
            border-radius: 0 0 0 0;
        }

        .thumbnail:nth-child(3) {
            -webkit-box-ordinal-group: 4;
                -ms-flex-order: 3;
                    order: 3;
            border-radius: 0 0 0 22px;
        }

        .thumbnail:nth-child(4) {
            -webkit-box-ordinal-group: 5;
                -ms-flex-order: 4;
                    order: 4;
            border-radius: 0 0 22px 0;
        }

        @media (min-width: 768px) {
            .image-gallery {
                -ms-flex-wrap: nowrap;
                    flex-wrap: nowrap;
            }

            .main-image {
                width: 50%;
                height: 400px;
                border-radius: 22px 0 0 22px;
            }

            .thumbnail-grid {
                width: 50%;
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 10px;
            }

            .thumbnail {
                height: 195px;
            }

            .thumbnail:nth-child(1) {
                -webkit-box-ordinal-group: 2;
                    -ms-flex-order: 1;
                        order: 1;
                border-radius: 0;
            }

            .thumbnail:nth-child(2) {
                -webkit-box-ordinal-group: 3;
                    -ms-flex-order: 2;
                        order: 2;
                border-radius: 0 22px 0 0;
            }

            .thumbnail:nth-child(3) {
                -webkit-box-ordinal-group: 4;
                    -ms-flex-order: 3;
                        order: 3;
                border-radius: 0;
            }

            .thumbnail:nth-child(4) {
                -webkit-box-ordinal-group: 5;
                    -ms-flex-order: 4;
                        order: 4;
                border-radius: 0 0 22px 0;
            }
        }

        .booking-form {
            background-color: white;
            border-radius: 12px;
            padding: 24px;
            -webkit-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
                    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
        }

        .price-per-night {
            font-size: 22px;
            font-weight: 600;
            margin-bottom: 24px;
        }

        .date-guest-container {
            border: none;
            border-radius: 0;
            overflow: visible;
            margin-bottom: 1rem;
            display: flex;
            flex-direction: column;
            box-shadow: none;
        }

        .date-container {
            display: flex;
            border: 2px solid #289a96;
            border-radius: 8px;
            background-color: white;
            margin-bottom: 1.5rem;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        }

        .date-container > div {
            flex: 1;
            padding: 0.75rem 1rem;
            border-bottom: none;
            border-right: 1px solid rgba(40, 154, 150, 0.4);
            transition: background-color 0.2s ease;
        }

        .date-container > div:hover {
            background-color: rgba(40, 154, 150, 0.05);
        }
        
        .date-container > div:first-child {
            border-right: 1px solid rgba(40, 154, 150, 0.4);
            margin-right: 0;
        }

        .date-container > div:last-child {
            border-right: none;
        }

        .date-label {
            font-size: 12px;
            font-weight: 700;
            color: #555;
            text-transform: uppercase;
            letter-spacing: 0.03em;
            margin-bottom: 0.5rem;
            display: block;
        }

        .date-value {
            font-size: 16px;
            font-weight: 600;
            color: #222;
            margin-top: 0;
            padding-bottom: 0.5rem;
        }

        .guest-container {
            padding: 0;
            margin: 0;
            border-top: none;
        }

        .guest-container .mb-3 {
            margin-bottom: 0 !important;
        }

        .guest-label {
            margin-bottom: 0.5rem !important;
            font-size: 12px;
            font-weight: 700;
            color: #333;
            text-transform: uppercase;
            letter-spacing: 0.03em;
        }

        .dropdown-wrapper {
            position: relative;
            width: 100%;
            margin: 0;
            padding: 0;
        }

        .guest-container .form-select {
            background-color: transparent;
            border: none;
            border-bottom: 1px solid #289a96;
            border-radius: 0;
            font-size: 16px;
            height: 36px;
            padding: 0.25rem 0;
            text-align: left;
            box-shadow: none;
            transition: all 0.2s ease;
            width: 100%;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23289a96' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 0 center;
            background-size: 16px 12px;
            color: #333;
            font-weight: 500;
        }

        .guest-container .form-select:focus {
            border-color: #289a96;
            border-width: 0 0 2px 0;
            box-shadow: none;
            outline: none;
        }

        /* Guest container option styling */
        .guest-container .form-select option {
            padding: 0.5rem;
            background-color: #fff;
            color: #333;
            font-size: 15px;
        }

        .date-label,
        .guest-value {
            font-size: 14px;
            font-weight: 400;
            color: #222;
            margin-top: 3px;
        }

        .book-now-btn {
            background-color: #289a96 !important;
            border: none !important;
            width: 100%;
            padding: 14px;
            color: white !important;
            font-weight: 600;
            font-size: 16px;
            border-radius: 8px;
            margin-bottom: 8px;
            -webkit-transition: all 0.3s ease;
            transition: all 0.3s ease;
        }

        .book-now-btn:hover,
        .book-now-btn:focus,
        .book-now-btn:active {
            background-color: #1e7c79 !important;
            color: white !important;
            -webkit-transform: scale(0.98);
                    transform: scale(0.98);
            -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
                    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .book-now-btn:active {
            -webkit-transform: scale(0.95);
                    transform: scale(0.95);
        }

        .not-charged-text {
            font-size: 14px;
            color: #222;
            text-align: center;
            margin-bottom: 24px;
        }

        .price-breakdown {
            font-size: 16px;
            color: #222;
        }

        .price-breakdown div {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: justify;
                -ms-flex-pack: justify;
                    justify-content: space-between;
            margin-bottom: 12px;
        }

        .total-price {
            font-weight: 600;
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid #b0b0b0;
        }

        .special-offer {
            background-color: #f7f7f7;
            border-radius: 12px;
            padding: 24px;
            margin-top: 24px;
        }

        .special-offer h4 {
            color: #222;
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .special-offer p {
            font-size: 14px;
            color: #717171;
            margin-bottom: 0;
        }

        .rating-container {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            margin-bottom: 10px;
        }

        .rating-text {
            font-weight: bold;
            margin-right: 10px;
        }

        .review-count {
            color: var(--dark-gray);
        }

        .school-info {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            margin-bottom: 10px;
        }

        .school-icon {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background-color: var(--primary-color);
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: center;
                -ms-flex-pack: center;
                    justify-content: center;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            color: white;
            font-weight: bold;
            margin-right: 10px;
        }

        .feature-list {
            list-style-type: none;
            padding-left: 0;
            margin-top: 1rem;
        }

        .feature-list li {
            margin-bottom: 10px;
        }

        .card-slider-container {
            position: relative;
            margin-bottom: var(--section-spacing);
        }

        .card-slider {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            gap: 10px;
        }

        .card {
            -webkit-box-flex: 1;
                -ms-flex: 1;
                    flex: 1;
            background-color: white;
            border-radius: 12px;
            -webkit-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
                    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
            padding: 16px;
            text-align: center;
        }

        .card h5 {
            font-size: 18px;
            margin: 10px 0;
            color: #222;
        }

        .card p {
            font-size: 14px;
            color: var(--dark-gray);
        }

        .buttonRotate {
            position: absolute;
            top: 50%;
            left: 50%;
            -webkit-transform: translate(-50%, -50%);
                    transform: translate(-50%, -50%);
            z-index: 9999;
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 50%;
            cursor: pointer;
            width: 60px;
            height: 60px;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: center;
                -ms-flex-pack: center;
                    justify-content: center;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            transition: background-color 0.2s ease;
        }
        
        .buttonRotate:hover {
            background: rgba(255, 255, 255, 1);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }

        .buttonRotate img {
            -webkit-transition: transform 0.5s ease;
            transition: transform 0.5s ease;
            width: 30px;
            height: 30px;
        }

        .feature-list .address-item {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: start;
                -ms-flex-align: start;
                    align-items: flex-start;
        }

        .feature-list .address-item span {
            display: inline-block;
        }

        /* SVG icon styles */
        .card-icon {
            width: 24px;
            height: 24px;
            margin-bottom: 10px;
        }

        .feature-icon {
            width: 20px;
            height: 20px;
            margin-right: 10px;
            vertical-align: middle;
        }

        .special-offer-icon {
            width: 16px;
            height: 16px;
            margin-right: 8px;
            vertical-align: middle;
        }

        .chevron-down {
            width: 16px;
            height: 16px;
        }

        /* SVG icon colors */
        .card-icon,
        .feature-icon,
        .special-offer-icon {
            fill: var(--primary-color);
        }

        /* Specific icon color overrides */
        .feature-list img[src*="co2.svg"] {
            fill: #4CAF50;
        }

        .feature-list img[src*="trees.svg"] {
            fill: #8BC34A;
        }

        .feature-list img[src*="gas.svg"] {
            fill: #FF9800;
        }

        .feature-list img[src*="piggy_alt.svg"] {
            fill: #E91E63;
        }

        .feature-list img[src*="globe_alt.svg"],
        .feature-list img[src*="call_alt.svg"],
        .feature-list img[src*="map_fill.svg"] {
            fill: var(--primary-color);
        }

        img[src*="chevron-down.svg"] {
            fill: #222;
        }

        img[src*="tag-fill.svg"] {
            fill: var(--primary-color);
        }

        /* iPad specific media query */
        @media (min-width: 768px) and (max-width: 1024px) {
            .content-wrapper {
                padding-left: 1.5rem;
                padding-right: 1.5rem;
            }
        }

        @media (max-width: 767px) {
            .booking-form {
                margin-top: 20px;
            }

            .feature-icon {
                width: 18px;
                height: 18px;
            }
        }

        /* Styles for the select element during dropdown open state */
        .guest-container .form-select:active,
        .guest-container .form-select:focus-visible {
            outline-offset: 0;
            outline: none;
        }

        /* Ensure dropdown is sized properly */
        select.form-select {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
        }

        /* Plan Details Styling */
        .plan-details-container {
            margin-top: 24px;
            background-color: #f8f9fa;
            border-radius: 12px;
            padding: 16px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            border: 1px solid #eaeaea;
        }
        
        .plan-details-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 12px;
            margin-bottom: 8px;
            border-bottom: 1px solid #e7e7e7;
        }
        
        .plan-details-title {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            letter-spacing: 0.02em;
        }
        
        .not-charged-text {
            font-size: 13px;
            color: #666;
            font-style: italic;
            margin-bottom: 0;
        }
        
        .plan-details-container .table {
            margin-bottom: 16px;
        }
        
        .plan-details-container .table tr:nth-child(even) {
            background-color: rgba(248, 249, 250, 0.7);
        }
        
        .plan-details-container .table tr {
            transition: background-color 0.2s ease;
        }
        
        .plan-details-container .table tr:hover {
            background-color: rgba(40, 154, 150, 0.05);
        }
        
        .plan-details-container th {
            font-size: 14px;
            color: #555;
            font-weight: 500;
            padding: 8px 0;
        }
        
        .plan-details-container td {
            font-size: 14px;
            color: #333;
            padding: 8px 0;
        }
        
        .plan-details-container .highlight-discount {
            color: #289a96;
            font-weight: 500;
        }
        
        .savings-badge {
            display: inline-block;
            background-color: rgba(40, 154, 150, 0.1);
            color: #289a96;
            font-size: 11px;
            font-weight: 600;
            padding: 2px 6px;
            border-radius: 4px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            vertical-align: middle;
            border: 1px solid rgba(40, 154, 150, 0.2);
        }
        
        .plan-details-container .total-row {
            border-top: 1px solid #e5e5e5;
            margin-top: 8px;
        }
        
        .plan-details-container .total-row th,
        .plan-details-container .total-row td {
            font-weight: 700;
            font-size: 15px;
            padding-top: 16px;
        }
        
        .plan-details-container .total-amount {
            color: #289a96;
        }
        
        /* Hide debug info for regular users */
        tr[dmx-show="scQuoteData.data.query.user_id==1"] {
            display: none;
        }

        /* Children Count Section Styling */
        .children-info-container {
            margin-bottom: 24px;
            background-color: #f8f9fa;
            background-image: linear-gradient(to right, #f8f9fa, #f0f8f8);
            border-radius: 12px;
            padding: 16px 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            border: 1px solid #eaeaea;
            transition: all 0.3s ease;
        }
        
        .children-info-container:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            border-color: #d9d9d9;
        }
        
        .children-info-header {
            margin-bottom: 10px;
        }
        
        .children-label {
            font-size: 14px;
            font-weight: 600;
            color: #333;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .children-count-display {
            display: flex;
            align-items: baseline;
        }
        
        .count-number {
            font-size: 32px;
            font-weight: 700;
            color: #289a96;
            line-height: 1;
            margin-right: 8px;
        }
        
        .count-label {
            font-size: 16px;
            color: #666;
            font-weight: 500;
        }
        
        /* Capacity indicator styling */
        .capacity-indicator-container {
            margin-top: 12px;
        }
        
        .capacity-label {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: #666;
            margin-bottom: 5px;
        }
        
        .capacity-value {
            font-weight: 600;
            color: #333;
        }
        
        .capacity-bar {
            height: 8px;
            background-color: #e9ecef;
            border-radius: 4px;
            overflow: hidden;
        }
        
        .capacity-progress {
            height: 100%;
            background-color: #289a96;
            border-radius: 4px;
            transition: width 0.5s ease;
        }

        /* Add a nice icon to the children count section */
        .children-info-container {
            position: relative;
        }
        
        .children-info-container::after {
            content: '';
            position: absolute;
            top: 16px;
            right: 16px;
            width: 32px;
            height: 32px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23289a96'%3E%3Cpath d='M7 14s-1 0-1-1 1-4 5-4 5 3 5 4-1 1-1 1H7zm4-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'/%3E%3Cpath fill-rule='evenodd' d='M5.216 14A2.238 2.238 0 0 1 5 13c0-1.355.68-2.75 1.936-3.72A6.325 6.325 0 0 0 5 9c-4 0-5 3-5 4s1 1 1 1h4.216z'/%3E%3Cpath d='M4.5 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
            opacity: 0.2;
        }

        /* Luxury Features Styling */
        .luxury-feature {
            display: inline-flex;
            align-items: center;
            color: #333;
            font-weight: 500;
            transition: color 0.2s ease;
        }
        
        .luxury-feature:hover {
            color: #289a96;
        }
        
        .luxury-feature i,
        .luxury-feature svg {
            color: #289a96;
            font-size: 14px;
        }

        /* SVG icon sizing for luxury features */
        .luxury-feature svg {
            width: 14px;
            height: 14px;
            fill: #289a96;
        }
        
        /* Additional styling for capacity indicator */
        .capacity-label span:first-child {
            font-weight: 600;
            color: #333;
            text-transform: uppercase;
            font-size: 11px;
            letter-spacing: 0.5px;
        }
        
        .capacity-progress {
            background-image: linear-gradient(to right, #289a96, #34b4a7);
        }

        /* Luxury Features Section Styling */
        .van-features {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 16px;
            border: 1px solid #eaeaea;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        }
        
        .luxury-title {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            position: relative;
            padding-left: 22px;
        }
        
        .luxury-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 18px;
            height: 18px;
            /* Mercedes-Benz three-pointed star logo - 3 lines from center */
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='45' fill='none' stroke='%23289a96' stroke-width='4'/%3E%3Cpath d='M50 10 L50 50 M50 50 L15 75 M50 50 L85 75' fill='none' stroke='%23289a96' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
        }
        
        .luxury-features-container {
            margin-bottom: 0;
            line-height: 2;
        }
        
        .luxury-feature {
            display: inline-flex;
            align-items: center;
            color: #333;
            font-weight: 500;
            transition: color 0.2s ease;
            margin-right: 4px;
            padding: 2px 8px;
            border-radius: 20px;
            background-color: rgba(40, 154, 150, 0.05);
            border: 1px solid rgba(40, 154, 150, 0.1);
        }
        
        .luxury-feature:hover {
            color: #289a96;
            background-color: rgba(40, 154, 150, 0.1);
            border-color: rgba(40, 154, 150, 0.2);
        }
        
        .luxury-feature i,
        .luxury-feature svg {
            color: #289a96;
            font-size: 14px;
        }

        /* SVG icon sizing for luxury features */
        .luxury-feature svg {
            width: 14px;
            height: 14px;
            fill: #289a96;
        }

        /* School Card Styling - Apple-inspired minimalist design */
        .school-card {
            background-color: #fff;
            border-radius: 16px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
            margin: 25px 0;
            padding: 0;
            overflow: hidden;
            border: 1px solid #f0f0f0;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        
        .school-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        }
        
        .school-card-header {
            display: flex;
            align-items: center;
            padding: 24px;
            border-bottom: 1px solid #f5f5f7;
            background: #fff;
        }
        
        .school-avatar {
            position: relative;
            margin-right: 18px;
        }
        
        .school-initial {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #289a96 0%, #34b4a7 100%);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            font-weight: 600;
            box-shadow: 0 2px 8px rgba(40, 154, 150, 0.2);
        }
        
        .school-grade {
            position: absolute;
            bottom: -5px;
            right: -5px;
            background-color: #4a90e2;
            color: white;
            font-size: 14px;
            font-weight: 600;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid white;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
        }
        
        .school-title {
            flex: 1;
        }
        
        .school-name {
            margin: 0;
            font-size: 22px;
            font-weight: 600;
            color: #1d1d1f;
            letter-spacing: -0.022em;
        }
        
        .school-type {
            margin: 5px 0 0;
            font-size: 14px;
            color: #86868b;
            letter-spacing: -0.016em;
        }
        
        /* School description */
        .school-description {
            font-size: 17px;
            line-height: 1.5;
            color: #1d1d1f;
            font-weight: 400;
            letter-spacing: -0.022em;
            max-width: 85%;
        }
        
        /* School Metrics - Apple-inspired */
        .school-metrics {
            display: flex;
            justify-content: space-between;
            padding: 24px;
            background-color: #fff;
            border-bottom: 1px solid #f5f5f7;
        }
        
        .metric-card {
            flex: 1;
            text-align: center;
            padding: 6px;
        }
        
        .metric-value {
            font-size: 26px;
            font-weight: 600;
            color: #1d1d1f;
            line-height: 1.1;
            margin-bottom: 4px;
            white-space: nowrap;
        }
        
        .metric-percent {
            font-size: 16px;
            font-weight: 500;
        }
        
        .metric-label {
            font-size: 12px;
            color: #86868b;
            letter-spacing: -0.01em;
        }
        
        /* School Details */
        .school-details {
            display: flex;
            padding: 24px;
            background-color: #fff;
            border-bottom: 1px solid #f5f5f7;
        }
        
        .detail-column {
            flex: 1;
            padding: 0 10px;
        }
        
        .detail-item {
            display: flex;
            margin-bottom: 20px;
        }
        
        .detail-item:last-child {
            margin-bottom: 0;
        }
        
        .detail-icon {
            width: 36px;
            height: 36px;
            background-color: rgba(40, 154, 150, 0.08);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
        }
        
        .detail-icon i,
        .detail-icon svg {
            color: #289a96;
            font-size: 16px;
        }

        /* SVG icon sizing for detail icons */
        .detail-icon svg {
            width: 16px;
            height: 16px;
            fill: #289a96;
        }
        
        .detail-content {
            flex: 1;
        }
        
        .detail-label {
            font-size: 12px;
            font-weight: 500;
            color: #86868b;
            text-transform: uppercase;
            letter-spacing: 0.03em;
            margin-bottom: 2px;
        }
        
        .detail-value {
            font-size: 15px;
            color: #1d1d1f;
            word-break: break-word;
            line-height: 1.4;
        }
        
        .detail-value a {
            color: #289a96;
            text-decoration: none;
        }
        
        .detail-value a:hover {
            text-decoration: underline;
        }
        
        /* School Highlights */
        .school-highlights {
            display: flex;
            flex-wrap: wrap;
            padding: 24px;
            background-color: #fff;
            gap: 8px;
        }
        
        .highlight-badge {
            background-color: #f5f5f7;
            color: #1d1d1f;
            font-size: 12px;
            font-weight: 500;
            padding: 6px 12px;
            border-radius: 30px;
            letter-spacing: -0.01em;
        }
        
        /* School Card Footer */
        .school-card-footer {
            display: flex;
            justify-content: space-between;
            padding: 20px 24px;
            color: #86868b;
            font-size: 13px;
            background-color: #f5f5f7;
        }
        
        .school-district i,
        .school-district svg,
        .school-location i,
        .school-location svg {
            color: #289a96;
            margin-right: 6px;
        }

        /* SVG icon sizing for school info */
        .school-district svg,
        .school-location svg {
            width: 14px;
            height: 14px;
            fill: #289a96;
            vertical-align: middle;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .school-metrics {
                flex-wrap: wrap;
            }
            
            .metric-card {
                flex: 0 0 50%;
                border-right: none;
                border-bottom: 1px solid #eee;
                padding: 10px;
            }
            
            .metric-card:nth-child(odd) {
                border-right: 1px solid #eee;
            }
            
            .metric-card:nth-last-child(-n+2) {
                border-bottom: none;
            }
            
            .school-details {
                flex-direction: column;
            }
            
            .detail-column {
                margin-bottom: 10px;
            }
            
            .academics-stat {
                flex-wrap: wrap;
            }
            
            .stat-label {
                width: 100%;
                margin-bottom: 5px;
            }
            
            .stat-value {
                width: auto;
                margin-left: 10px;
            }
            
            .school-card-footer {
                flex-direction: column;
                gap: 8px;
            }
        }

        /* Add proper alignment for van-features and children-info-container */
        .van-features, .children-info-container {
            height: 100%;
            display: flex;
            flex-direction: column;
            margin-top: 1.5rem;
            justify-content: center;
            padding: 16px 20px;
            width: 100%;
            box-sizing: border-box;
            flex: 1;
            min-width: 100%;
        }
        
        /* Adjust luxury features to maintain proper spacing */
        .luxury-features-container {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            justify-content: flex-start;
            align-items: center;
        }
        
        .luxury-features-container .luxury-feature {
            margin-right: 0;
            margin-bottom: 4px;
        }
        
        /* Remove the separator for a cleaner look */
        .luxury-features-container span + span:before {
            content: '';
            margin: 0;
        }
        
        /* Ensure equal height for both containers and full width */
        .col-md-8[aria-label="Service details"], 
        .col-md-4[aria-label="Children information"] {
            display: flex;
            margin-bottom: 1.5rem;
            width: 100%;
            padding-right: 15px;
            padding-left: 15px;
        }
        
        /* Ensure van features and children info containers align with containers below */
        @media (min-width: 768px) {
            .col-md-8[aria-label="Service details"] .van-features {
                width: 100%;
                max-width: 100%;
                margin-right: 0;
            }
            
            .col-md-4[aria-label="Children information"] .children-info-container {
                width: 100%;
                max-width: 100%;
                margin-left: 0;
            }
            
            /* TARGETED WIDTH FIXES - THESE ONLY APPLY TO THE SPECIFIED ELEMENTS */
            .col-md-8[aria-label="Service details"] {
                flex: 0 0 66.666667%;
                max-width: 66.666667%;
            }
            
            .col-md-4[aria-label="Children information"] {
                flex: 0 0 33.333333%;
                max-width: 33.333333%;
            }
        }
        
        /* Better spacing for image gallery */
        .image-gallery {
            margin-bottom: 1.5rem;
        }
        
        /* Enhance card display for addresses */
        .card-slider .card p {
            word-break: break-word;
            line-height: 1.4;
            color: #4a4a4a;
            font-size: 14px;
            max-height: 3.5em; /* Approx 2.5 lines */
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
        
        /* Add a hover effect to show the full address */
        .card-slider .card:hover p {
            max-height: none;
            -webkit-line-clamp: initial;
            z-index: 2;
            position: relative;
            background-color: white;
            padding: 4px;
            border-radius: 4px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        /* Additional spacing and layout improvements */
        .feature-list {
            margin-top: 1rem;
        }
        
        /* Better spacing for the carbon section */
        section[aria-label="Environmental impact"] {
            margin-top: var(--section-spacing);
            padding: 2rem;
            background-color: #fbfbfb;
            background-image: linear-gradient(135deg, rgba(40, 154, 150, 0.03) 0%, rgba(255, 255, 255, 0.8) 100%);
            border-radius: 16px;
            border: 1px solid rgba(40, 154, 150, 0.1);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
            position: relative;
            overflow: hidden;
        }
        
        /* Create a subtle pattern background */
        section[aria-label="Environmental impact"]::before {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23289a96' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
            opacity: 0.4;
            z-index: 0;
        }
        
        /* Enhanced CO2 Section Typography */
        section[aria-label="Environmental impact"] * {
            position: relative;
            z-index: 1;
        }
        
        section[aria-label="Environmental impact"] h3 {
            font-size: 1.75rem;
            font-weight: 700;
            color: #222;
            margin-bottom: 0.75rem;
            letter-spacing: -0.01em;
        }
        
        section[aria-label="Environmental impact"] .impact-intro {
            font-size: 1.1rem;
            color: #444;
            margin-bottom: 1.5rem;
            max-width: 90%;
        }
        
        /* CO2 Reduction Card */
        .impact-card {
            background-color: white;
            border-radius: 16px;
            padding: 1.5rem;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
            margin-bottom: 1.5rem;
            border: 1px solid rgba(40, 154, 150, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .impact-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(40, 154, 150, 0.1);
        }
        
        .impact-card-header {
            display: flex;
            align-items: center;
            margin-bottom: 1.25rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        .impact-icon {
            width: 40px;
            height: 40px;
            padding: 8px;
            margin-right: 1rem;
            background-color: rgba(40, 154, 150, 0.1);
            border-radius: 50%;
        }
        
        .impact-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: #333;
            margin: 0;
        }
        
        /* Before/After Comparison */
        .impact-comparison {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1.5rem;
        }
        
        .impact-before, .impact-after {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 1rem;
            border-radius: 8px;
        }
        
        .impact-before {
            background-color: rgba(255, 99, 71, 0.1);
            border: 1px solid rgba(255, 99, 71, 0.2);
        }
        
        .impact-after {
            background-color: rgba(46, 204, 113, 0.1);
            border: 1px solid rgba(46, 204, 113, 0.2);
        }
        
        .impact-arrow {
            padding: 0 1rem;
        }
        
        .impact-arrow i {
            font-size: 1.5rem;
            color: #666;
        }
        
        .impact-label {
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: #666;
            margin-bottom: 0.5rem;
        }
        
        .impact-value {
            font-size: 2rem;
            font-weight: 700;
            line-height: 1.1;
        }
        
        .impact-value-before {
            color: #FF6347; /* Tomato red for "bad" value */
        }
        
        .impact-value-after {
            color: #2ecc71; /* Green for "good" value */
        }
        
        .impact-unit {
            font-size: 0.85rem;
            color: #666;
            margin-top: 0.25rem;
        }
        
        /* Savings Percentage */
        .impact-savings {
            text-align: center;
            margin-bottom: 0.75rem;
        }
        
        .savings-percentage {
            display: inline-block;
            background: linear-gradient(to right, #289a96, #2ecc71);
            color: white;
            padding: 0.5rem 1.25rem;
            border-radius: 100px;
            font-weight: 600;
            font-size: 1.1rem;
            box-shadow: 0 2px 8px rgba(46, 204, 113, 0.3);
        }
        
        .percentage-value {
            font-weight: 700;
            font-size: 1.25rem;
        }
        
        /* Progress Bar */
        .impact-progress {
            margin-top: 1rem;
        }
        
        .progress-bar-container {
            height: 8px;
            background-color: #f5f5f5;
            border-radius: 100px;
            overflow: hidden;
            position: relative;
        }
        
        .progress-bar-bg {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: linear-gradient(to right, #FF6347, #ff9f7f);
            border-radius: 100px;
        }
        
        .progress-bar-fill {
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            background-image: linear-gradient(to right, #289a96, #2ecc71);
            border-radius: 100px;
            transition: width 1.5s ease-in-out;
        }
        
        /* Other Benefits Section */
        .impact-benefits {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .benefit-item {
            background-color: white;
            border-radius: 12px;
            padding: 1.25rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
            display: flex;
            align-items: center;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        .benefit-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
        }
        
        .benefit-icon {
            width: 36px;
            height: 36px;
            padding: 7px;
            margin-right: 1rem;
            background-color: rgba(40, 154, 150, 0.1);
            border-radius: 50%;
        }
        
        .benefit-content {
            display: flex;
            flex-direction: column;
        }
        
        .benefit-value {
            font-size: 1.25rem;
            font-weight: 700;
            color: #333;
            line-height: 1.2;
        }
        
        .benefit-desc {
            font-size: 0.85rem;
            color: #666;
            margin-top: 0.25rem;
        }
        
        /* Call to Action Button */
        section[aria-label="Environmental impact"] .btn-outline-primary {
            color: #289a96;
            border-color: #289a96;
            border-width: 2px;
            padding: 0.75rem 1.75rem;
            font-weight: 600;
            font-size: 1rem;
            letter-spacing: 0.03em;
            transition: all 0.3s ease;
            position: relative;
            z-index: 1;
            display: block;
            width: fit-content;
            margin: 0 auto;
        }
        
        section[aria-label="Environmental impact"] .btn-outline-primary:hover {
            color: #fff;
            background-color: #289a96;
            border-color: #289a96;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(40, 154, 150, 0.2);
        }
        
        /* Mobile Responsive Adjustments */
        @media (max-width: 767px) {
            .impact-comparison {
                flex-direction: column;
                gap: 1rem;
            }
            
            .impact-arrow {
                transform: rotate(90deg);
                padding: 0.5rem;
            }
            
            .impact-before, .impact-after {
                width: 100%;
            }
            
            .impact-benefits {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 767.98px) {
            /* Adjust mobile spacing */
            .van-features, 
            .children-info-container {
                margin-bottom: 1rem;
                height: auto;
            }
            
            /* Stack card slider items better on mobile */
            .card-slider {
                flex-direction: column;
                gap: 1rem;
            }
            
            .card-slider .card {
                width: 100%;
            }
        }

        /* Environmental Impact Enhancements */
        section[aria-label="Environmental impact"] .impact-value-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 0.75rem;
        }
        
        section[aria-label="Environmental impact"] .impact-value {
            font-size: 1.75rem;
            font-weight: 700;
            color: #333;
            transition: all 0.3s ease;
        }
        
        section[aria-label="Environmental impact"] .impact-value-before {
            color: #d9534f;
        }
        
        section[aria-label="Environmental impact"] .impact-value-after {
            color: #2ecc71;
        }
        
        section[aria-label="Environmental impact"] .impact-unit {
            font-size: 0.85rem;
            color: #666;
            display: block;
            text-align: center;
            margin-top: 0.25rem;
        }
        
        section[aria-label="Environmental impact"] .impact-icon-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-top: 0.5rem;
        }
        
        section[aria-label="Environmental impact"] .impact-icon-container i {
            font-size: 1.5rem;
            margin-bottom: 0.25rem;
        }
        
        section[aria-label="Environmental impact"] .impact-desc {
            font-size: 0.75rem;
            color: #666;
            text-align: center;
        }
        
        section[aria-label="Environmental impact"] .impact-before .impact-icon-container i {
            color: #d9534f;
        }
        
        section[aria-label="Environmental impact"] .impact-after .impact-icon-container i {
            color: #2ecc71;
        }
        
        section[aria-label="Environmental impact"] .percentage-label {
            font-weight: 600;
            color: #289a96;
        }
        
        section[aria-label="Environmental impact"] .savings-description {
            font-size: 0.9rem;
            color: #666;
            text-align: center;
            margin-top: 0.5rem;
        }
        
        section[aria-label="Environmental impact"] .savings-description strong {
            color: #2ecc71;
            font-weight: 700;
        }
        
        /* Progress bar animation */
        section[aria-label="Environmental impact"] .progress-bar-fill {
            animation: fillProgress 1.5s ease-out;
        }
        
        @keyframes fillProgress {
            from { width: 0; }
            to { width: var(--progress-width); }
        }
        
        /* Hover effects for impact cards */
        section[aria-label="Environmental impact"] .impact-before:hover .impact-value,
        section[aria-label="Environmental impact"] .impact-after:hover .impact-value {
            transform: scale(1.1);
        }
        
        /* Mobile adjustments */
        @media (max-width: 767px) {
            section[aria-label="Environmental impact"] .impact-value {
                font-size: 1.5rem;
            }
        }
        
        /* Full-width School Section */
        .full-width-section {
            margin: 2rem 0 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(0, 0, 0, 0.1);
            position: relative;
        }
        
        .full-width-section::before {
            content: "";
            position: absolute;
            top: -1px;
            left: 0;
            width: 100px;
            height: 3px;
            background: linear-gradient(to right, #289a96, #34b4a7);
            border-radius: 0 0 2px 2px;
        }
        
        .full-width-section .section-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: #222;
            letter-spacing: -0.01em;
            margin-bottom: 1.25rem;
        }
        
        .full-width-section .school-description {
            font-size: 1.1rem;
            color: #444;
            line-height: 1.6;
            max-width: 90%;
        }
        
        /* Improved School Card for Full-width Layout */
        .full-width-section .school-card {
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }
        
        .full-width-section .school-metrics {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1rem;
            padding: 1.5rem 2rem;
        }
        
        .full-width-section .school-details {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
            padding: 1.5rem 2rem;
        }
        
        .full-width-section .school-highlights {
            padding: 1.5rem 2rem;
            gap: 0.75rem;
        }
        
        /* Terms & Conditions Checkbox Styling */
        .form-validation {
            margin-top: 0.5rem;
            margin-bottom: 1rem;
        }
        
        .form-check {
            padding-left: 1.5rem;
        }
        
        .form-check-input {
            border: 1.5px solid #289a96;
            width: 1.1em;
            height: 1.1em;
        }
        
        .form-check-input:checked {
            background-color: #289a96;
            border-color: #289a96;
        }
        
        .form-check-label {
            font-size: 14px;
            color: #555;
        }
        
        /* Style for reserve button */
        .reserve-btn {
            background-color: #289a96;
            border: 2px solid #289a96;
            color: white;
            font-weight: 600;
            padding: 0.75rem 2rem;
            border-radius: 8px;
            transition: all 0.2s ease;
            width: 100%;
            margin-top: 1rem;
        }
        
        .reserve-btn:hover, 
        .reserve-btn:focus {
            background-color: #1d7c79;
            border-color: #1d7c79;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

        /* Testimonials Section Spacing */
        .testimonials-section {
            margin-top: 1.5rem !important;
            margin-bottom: 2.5rem;
            padding-top: 1rem;
            position: relative;
            border-top: 1px solid rgba(0, 0, 0, 0.05);
        }

        .testimonials-section::before {
            content: "";
            position: absolute;
            top: -1px;
            left: 0;
            width: 80px;
            height: 3px;
            background: linear-gradient(to right, #289a96, #34b4a7);
            border-radius: 0 0 2px 2px;
        }

        /* Consistent Vertical Spacing System */
        /* Base vertical spacing unit */
        :root {
            --spacing-unit: 1rem;
            --section-spacing: 2rem;
        }
        
        /* Apply consistent spacing to all major sections */
        .page-header {
            margin-bottom: var(--section-spacing);
        }
        
        .image-gallery {
            margin-bottom: var(--section-spacing);
        }
        
        .card-slider-container {
            margin-bottom: var(--section-spacing);
        }
        
        section[aria-label="Environmental impact"] {
            margin-top: var(--section-spacing);
            margin-bottom: var(--section-spacing);
        }
        
        /* Responsive adjustments for spacing */
        @media (max-width: 767px) {
            :root {
                --section-spacing: 1.5rem;
            }
            
            .full-width-section {
                margin: 2rem 0 1.5rem;
            }
            
            .testimonials-section {
                margin-top: 1rem;
                margin-bottom: 2rem;
            }
        }

        /* Standardized Vertical Spacing System */

        /* Section spacing */
        .page-header, 
        .image-gallery,
        .card-slider-container,
        .row [aria-label="Service details"],
        .row [aria-label="Children information"],
        section[aria-label="Environmental impact"],
        .booking-form,
        .van-features,
        .children-info-container {
            margin-bottom: 2rem;
        }

        .full-width-section {
            margin: 2rem 0 1.5rem;
            padding-top: 1.5rem;
        }

        .testimonials-section {
            margin-top: 1.5rem;
            margin-bottom: 2.5rem;
        }

        /* Consistent internal spacing */
        .impact-card,
        .impact-benefits,
        .school-card,
        .card {
            margin-bottom: 1.5rem;
        }

        /* Mobile adjustments */
        @media (max-width: 767px) {
            .page-header, 
            .image-gallery,
            .card-slider-container,
            .row [aria-label="Service details"],
            .row [aria-label="Children information"],
            section[aria-label="Environmental impact"],
            .booking-form,
            .van-features,
            .children-info-container {
                margin-bottom: 1.5rem;
            }
            
            .full-width-section {
                margin: 1.5rem 0 1rem;
                padding-top: 1rem;
            }
            
            .testimonials-section {
                margin-top: 1rem;
                margin-bottom: 2rem;
            }
            
            .impact-card,
            .impact-benefits,
            .school-card,
            .card {
                margin-bottom: 1rem;
            }
        }

        /* Price Comparison Section */
        .price-comparison-section {
            border-radius: 10px;
            padding: 30px 0;
        }

        .price-comparison-item {
            padding: 20px;
            border-right: 1px solid #e5e5e5;
            height: 100%;
        }

        .comparison-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 15px;
            color: #333;
        }

        .price-block {
            margin-bottom: 15px;
        }

        .price-value {
            font-size: 32px;
            font-weight: 700;
            color: #289a96;
            line-height: 1.2;
        }

        .price-period {
            font-size: 14px;
            color: #666;
        }

        .price-note {
            font-size: 14px;
            color: #444;
            padding: 8px 0;
        }

        .price-comparison-details {
            padding: 20px;
        }

        .comparison-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .comparison-item {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid #f0f0f0;
        }

        .comparison-label {
            font-size: 15px;
            color: #555;
        }

        .comparison-value {
            font-size: 16px;
            font-weight: 600;
            color: #333;
        }

        @media (max-width: 767px) {
            .price-comparison-item {
                border-right: none;
                border-bottom: 1px solid #e5e5e5;
                padding-bottom: 20px;
                margin-bottom: 20px;
            }
        }

/* ============================
   K12/S parity fixes
   BUG-156 / BUG-157 / BUG-159 / BUG-169
   ============================ */

/* Match K12 listing vertical spacing around the hero */
.ai-price-page .content-wrapper {
    padding-top: 24px !important;
}

/* AI layout uses a fixed-top navbar + #main-content padding-top:60px.
   For /ai/price we want K12-style "flow" spacing (no extra 60px offset). */
html.ai-price-page #main-content,
body.ai-price-page #main-content {
    padding-top: 0 !important;
}

html.ai-price-page #main-content .navbar.fixed-top,
body.ai-price-page #main-content .navbar.fixed-top {
    position: sticky !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
}

@media (max-width: 1127px) {
    .ai-price-page .content-wrapper {
        padding-top: 20px;
    }
}

/* BUG-186: Match K12 listing spacing (22px gaps) */
.ai-price-page .page-header,
.ai-price-page header.page-header {
    margin: 0 0 22px 0 !important;
    padding: 0 !important;
    border: none !important;
}

.ai-price-page .page-header:after,
.ai-price-page .page-header::after {
    display: none !important;
}

.ai-price-page .page-header:after {
    display: none;
}

/* Header actions (Share / Save) */
.ai-price-page .page-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ai-price-page .page-header__title {
    min-width: 0;
}

.ai-price-page .page-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.ai-price-page .page-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #222;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 0;
    cursor: pointer;
}

.ai-price-page .page-header-btn img {
    width: 16px;
    height: 16px;
}

.ai-price-page .page-header-btn:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Reset global card heart styles for the header Save button */
.ai-price-page .page-header-actions .heart-button {
    position: static;
    top: auto;
    right: auto;
    width: auto;
    height: auto;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    transition: none;
}

.ai-price-page .page-header-actions .heart-button svg {
    width: 16px;
    height: 16px;
}

.ai-price-page .page-header-btn.is-saved {
    color: var(--primary-color);
}

.ai-price-page .page-header-btn.is-saved img {
    filter: invert(43%) sepia(14%) saturate(1453%) hue-rotate(126deg) brightness(91%) contrast(90%);
}

.ai-price-page .page-header-btn.is-saved .heart-button {
    color: var(--primary-color);
}

/* K12-style hero subtext (below gallery) */
.ai-price-page .ai-price-k12-hero .image-gallery,
.ai-price-page .ai-price-k12-hero section.image-gallery,
.ai-price-page section.image-gallery {
    margin: 0 0 22px 0 !important;
    padding: 0 !important;
}

.ai-price-page .listing-info-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 0 !important;
    margin-bottom: 8px;
}

.ai-price-page .listing-info-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.ai-price-page .listing-info-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--listing-text, #222222);
}

.ai-price-page .listing-location-city {
    text-transform: capitalize;
}

.ai-price-page .listing-hero-details {
    margin-bottom: 1rem;
}

.ai-price-page .hero-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}

.ai-price-page .hero-line:last-child {
    margin-bottom: 0;
}

.ai-price-page .hero-line-truescore,
.ai-price-page .hero-line-rating {
    font-size: 0.92rem;
    color: #4a4a4a;
}

.ai-price-page .hero-reviews-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.ai-price-page .hero-reviews-link__count {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ai-price-page .hero-reviews-link:hover .hero-reviews-link__count {
    text-decoration-thickness: 2px;
}

.ai-price-page .hero-reviews-link:focus-visible {
    outline: 2px solid #222222;
    outline-offset: 3px;
    border-radius: 8px;
}

.ai-price-page .hero-truescore-label {
    font-weight: 600;
    color: var(--listing-muted, #717171);
}

.ai-price-page .hero-star {
    color: var(--listing-text, #222222);
}

.ai-price-page .hero-dot {
    color: var(--listing-muted, #717171);
}

/* TrueScore badge (shared K12 styling) */
.ai-price-page .truescore-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #2ac8c8;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 50%;
    letter-spacing: 0;
    flex-shrink: 0;
}

.ai-price-page .truescore-label {
    font-weight: 600;
    color: #222;
}

/* Gallery sizing: match K12 listing gallery (Airbnb-like) */
body.ai-price-page {
    --listing-max-width: 100%;
    --listing-text: #222222;
    --listing-muted: #717171;
    --listing-gap: 8px;
    --listing-radius: 12px;
    --listing-main-height: 344px;
    --listing-gallery-offset: 260px;
    --listing-gallery-height: clamp(320px, calc(100vh - var(--listing-gallery-offset)), var(--listing-main-height));
    --listing-thumb-height: calc((var(--listing-gallery-height) - var(--listing-gap)) / 2);
    --listing-gallery-main: 100%;
    --listing-gallery-side: 100%;
}

@media (min-width: 744px) {
    body.ai-price-page {
        --listing-max-width: min(calc(100vw - 80px), 688px);
        --listing-main-height: min(calc((100vw - 80px) * 0.5), 344px);
        --listing-gallery-main: 50%;
        --listing-gallery-side: calc(50% - var(--listing-gap));
        --listing-gallery-height: var(--listing-main-height);
    }
}

@media (min-width: 950px) {
    body.ai-price-page {
        --listing-max-width: min(calc(100vw - 80px), 944px);
        --listing-main-height: min(calc((100vw - 80px) * 0.5), 472px);
        --listing-gallery-main: 50%;
        --listing-gallery-side: calc(50% - var(--listing-gap));
    }
}

@media (min-width: 1128px) {
    body.ai-price-page {
        --listing-max-width: min(calc(100vw - 160px), 1120px);
        --listing-main-height: min(calc((100vw - 160px) * 0.5 + var(--listing-gap)), 568px);
        --listing-gallery-main: 50%;
        --listing-gallery-side: calc(50% - var(--listing-gap));
    }
}

@media (max-width: 1127px) {
    body.ai-price-page {
        --listing-gallery-offset: 240px;
    }
}

.ai-price-page .ai-price-k12-hero {
    max-width: var(--listing-max-width);
    margin: 0 auto;
    width: 100%;
}

.ai-price-page .ai-price-k12-hero-bleed {
    margin-left: calc(-1rem - (var(--bs-gutter-x, 1.5rem) * 0.5));
    margin-right: calc(-1rem - (var(--bs-gutter-x, 1.5rem) * 0.5));
}

.ai-price-page .image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: var(--listing-gap);
    /* margin-bottom handled by .ai-price-k12-hero .image-gallery (22px) to match K12 */
    width: 100%;
}

.ai-price-page .main-image {
    width: 100%;
    height: var(--listing-gallery-height);
    object-fit: cover;
    border-radius: var(--listing-radius) var(--listing-radius) 0 0;
    display: block;
}

.ai-price-page .thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--listing-gap);
    width: 100%;
}

.ai-price-page .thumbnail {
    width: 100%;
    height: var(--listing-thumb-height);
    object-fit: cover;
    border-radius: 0;
    display: block;
    cursor: pointer;
}

/* Gallery loading skeleton (Airbnb-style placeholders; avoids flashing fallback images) */
.ai-price-page .image-skeleton {
    background: linear-gradient(90deg, #f1f3f5 25%, #e9ecef 37%, #f1f3f5 63%);
    background-size: 400% 100%;
    animation: ai-price-skeleton 1.4s ease infinite;
}

.ai-price-page .image-gallery--loading .main-image,
.ai-price-page .image-gallery--loading .thumbnail {
    cursor: default;
}

.ai-price-page .image-gallery--loading .thumbnail-grid {
    pointer-events: none;
}

@keyframes ai-price-skeleton {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: 0 0;
    }
}

/* LoveForm CTA: match docs/LOVEFORM_VISUAL_REFERENCE.md rhythm */
.ai-price-page .loveform-cta-card {
    background: #ffffff;
    border: 1px solid rgba(40, 154, 150, 0.12);
    border-radius: 16px;
    padding: 22px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.ai-price-page .loveform-cta-card h2 {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.ai-price-page .loveform-cta-card .lead {
    color: #4a4a4a;
    margin-bottom: 18px;
}

.ai-price-page .cta-section .urgency-seats-message,
.ai-price-page .cta-section .urgency-expiry-message {
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(0, 0, 0, 0.02);
}

@media (min-width: 744px) {
    .ai-price-page .image-gallery {
        flex-wrap: nowrap;
    }

    .ai-price-page .main-image {
        width: var(--listing-gallery-main);
        flex: 0 0 var(--listing-gallery-main);
        height: var(--listing-gallery-height) !important;
        border-radius: var(--listing-radius) 0 0 var(--listing-radius);
    }

    .ai-price-page .thumbnail-grid {
        width: var(--listing-gallery-side);
        flex: 0 0 var(--listing-gallery-side);
        grid-template-columns: 1fr 1fr;
    }

    .ai-price-page .thumbnail {
        height: var(--listing-thumb-height) !important;
    }

    .ai-price-page .thumbnail:nth-child(2) {
        border-radius: 0 var(--listing-radius) 0 0;
    }

    .ai-price-page .thumbnail:nth-child(4) {
        border-radius: 0 0 var(--listing-radius) 0;
    }
}
