/* ==========================================================================
   Booking Steps Page Styles - Minimalist Edition
   ========================================================================== */

.steps-body {
    background-color: #fafafa;
    color: #09090b;
    /* รู T-rex มุมล่างขวา อาจเยื้องออก viewport — ห้าม clip แนวนอน */
    overflow-x: visible;
    overflow-y: auto;
}

/* ห่อหน้า: รูป T-rex โผล่ขวา ห้าม clip */
.steps-main {
    min-height: 0;
    overflow-x: visible;
}

.steps-section {
    padding: 6rem 0;
}

.steps-container {
    max-width: 1000px;
    overflow: visible;
    position: relative;
    /* ชั้นเหนือ T-rex (z-index 0) — กันทับปุ่ม/กล่องทุกความกว้างจอ */
    z-index: 2;
    padding-bottom: clamp(3rem, 10vh, 6rem);
}

/* T-rex: fixed มุมล่างขวา — อยู่ชั้นใต้ .steps-container เสมอ กันไม่ทับข้อความ/CTA */
.steps-dino-solo {
    position: fixed;
    z-index: 0;
    bottom: max(0.4rem, env(safe-area-inset-bottom, 0px));
    width: min(28rem, 72vw);
    max-height: 48vh;
    pointer-events: none;
    line-height: 0;
    opacity: 1;
    filter: none;
    overflow: visible;
}

.steps-dino-solo--right {
    right: max(0.4rem, env(safe-area-inset-right, 0px));
    left: auto;
}

.steps-dino-solo__img {
    width: 100%;
    height: auto;
    max-height: 46vh;
    object-fit: contain;
    object-position: right bottom;
    display: block;
}

/* มือถือ: T-rex ย่อมุม + เนื้อหาซ้อนชัดอยู่แล้ว (container z-index: 2) */
@media (max-width: 767.98px) {
    .steps-dino-solo {
        width: min(11rem, 40vw);
        max-height: 24vh;
        bottom: max(0.35rem, env(safe-area-inset-bottom, 0px));
        right: max(0.35rem, env(safe-area-inset-right, 0px));
    }

    .steps-dino-solo__img {
        max-height: 22vh;
    }
}

/* แท็บเล็ต / จอคอมแคบ — ไดโนใหญ่กว่ามือถือแต่เล็กกว่าจอกว้าง ลดโอกาสล้นมาทับคอลัมน์ขวา */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .steps-container {
        padding-bottom: clamp(5rem, 16vh, 10rem);
    }

    .steps-dino-solo {
        width: min(22rem, 42vw);
        max-height: 38vh;
        bottom: max(0.45rem, env(safe-area-inset-bottom, 0px));
        right: max(0.45rem, env(safe-area-inset-right, 0px));
    }

    .steps-dino-solo__img {
        max-height: 36vh;
    }
}

@media (min-width: 1200px) {
    .steps-container {
        padding-bottom: clamp(8rem, 26vh, 14rem);
    }

    .steps-dino-solo {
        width: min(36rem, 44vw);
        bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
        max-height: 55vh;
    }

    .steps-dino-solo--right {
        right: max(0.5rem, env(safe-area-inset-right, 0px));
    }

    .steps-dino-solo__img {
        max-height: 52vh;
    }
}

/* Minimalist Card Style */
.step-card {
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 1rem;
    padding: 1.25rem;
    height: 100%;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: visible;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.step-card:hover {
    border-color: #18181b;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    color: #18181b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 0.15rem;
}

.step-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.15rem;
    color: #09090b;
}

.step-desc {
    color: #71717a;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Minimalist Information Card */
.info-glass-card {
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 1rem;
    padding: 3rem;
    margin-top: 0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.info-glass-card h4 {
    color: #09090b;
}

/* Header Text */
.steps-title-main {
    color: #09090b;
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

.steps-subtitle {
    color: #71717a !important;
    font-size: 1.1rem;
}

/* รูปเหนือปุ่มจอง: นัด/ออนไลน์ */
.steps-cta-illu {
    max-height: 7rem;
    object-fit: contain;
}

/* ปุ่ม CTA: touch target ≥ 44px บนมือถือ */
.steps-cta-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Desktop Arrow Indicators removed as per user request */

/* Compact Mobile Layout - Minimal Edition */
@media (max-width: 991.98px) {
    .steps-section {
        padding: 4rem 0;
    }

    .step-card {
        padding: 1.5rem;
        display: flex;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .step-number {
        width: 2.25rem;
        height: 2.25rem;
        min-width: 2.25rem;
        margin-bottom: 0;
        font-size: 1rem;
    }

    .step-title {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }

    .step-desc {
        font-size: 0.9rem;
    }
}