/* ============================================
   RIBESKIN PAGE STYLES
   ============================================ */

/* Hero Cover Section */
.procedure-hero {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-cover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1600px;
    height: 100%;
    margin: 0 auto;
    padding: 3rem 5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

/* Hero Brand Logo - Top Left */
.hero-brand-logo {
    position: absolute;
    top: 3rem;
    left: 5rem;
    max-width: 320px;
    animation: fadeInLeft 1s ease-out;
}

.hero-brand-logo img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   TITLE SECTION
   ============================================ */

.title-section {
    padding: 3rem 3rem;
    background: #fff;
    text-align: center;
}

.title-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.main-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2a2a2a;
    margin: 0 0 1rem 0;
}

/* ============================================
   CONTENT SECTION
   ============================================ */

.facials-section {
    padding: 2rem 3rem 4rem;
    background: #f8f9fa;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* ---- Image Side ---- */

.image-side {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    max-height: 800px;
    position: sticky;
    top: 2rem;
}

.image-side img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

/* ---- Text Side ---- */

.facials-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: auto;
}

/* ---- About Card ---- */

.about-card {
    background: linear-gradient(135deg, #c9a961 0%, #b4944d 100%);
    border-radius: 14px;
    padding: 1.75rem 2rem;
    box-shadow: 0 4px 14px rgba(180, 148, 77, 0.2);
}

.about-card h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.75rem 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.about-card p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.97rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.75;
    margin: 0;
    font-weight: 500;
}

/* ---- Individual Facial Card ---- */

.facial-card {
    background: linear-gradient(135deg, #c9a961 0%, #b4944d 100%);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 14px rgba(180, 148, 77, 0.2);
}

.facial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(180, 148, 77, 0.3);
}

.facial-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.45rem 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.facial-desc {
    font-family: 'Nunito', sans-serif;
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.65;
    margin: 0;
    font-weight: 500;
}

/* ============================================
   CONTAINER
   ============================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */

@media (max-width: 1024px) {
    .procedure-hero {
        height: 70vh;
        max-height: 700px;
    }

    .hero-content-wrapper {
        padding: 2.5rem 3rem;
    }

    .hero-brand-logo {
        left: 3rem;
        max-width: 240px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .image-side {
        max-height: 700px;
        position: static;
    }

    .image-side img {
        height: 700px;
    }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */

@media (max-width: 768px) {
    .procedure-hero {
        height: 60vh;
        min-height: 400px;
        max-height: 500px;
    }

    .hero-cover-image img {
        object-position: center 30%;
    }

    .hero-content-wrapper {
        padding: 2rem 1.5rem;
    }

    .hero-brand-logo {
        position: absolute;
        left: 1.5rem;
        top: 2rem;
        max-width: 140px;
    }

    .title-section {
        padding: 3rem 1.5rem;
    }

    .main-title {
        font-size: 1.7rem;
    }

    .facials-section {
        padding: 1.5rem 1.5rem 3rem;
    }

    .content-grid {
        gap: 1.5rem;
    }

    .image-side {
        object-fit: contain;
        height: auto;
        width: 100%;
    }

    .image-side img {
                object-fit: contain;
        height: auto;
        width: 100%;
    }

    .facial-card {
        padding: 1.1rem 1.25rem;
    }

    .facial-title {
        font-size: 0.95rem;
    }

    .facial-desc {
        font-size: 0.9rem;
    }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE
   ============================================ */

@media (max-width: 480px) {
    .procedure-hero {
        height: 50vh;
        min-height: 350px;
        max-height: 400px;
    }

    .hero-content-wrapper {
        padding: 1.5rem 1rem;
    }

    .hero-brand-logo {
        left: 1rem;
        top: 1.5rem;
        max-width: 110px;
    }

    .title-section {
        padding: 2.5rem 1rem;
    }

    .main-title {
        font-size: 1.45rem;
    }

    .facials-section {
        padding: 1.25rem 1rem 2.5rem;
    }

    .about-card {
        padding: 1.25rem 1.25rem;
    }

    .facial-card {
        padding: 1rem 1.1rem;
        border-radius: 12px;
    }

    .facial-title {
        font-size: 0.9rem;
    }

    .facial-desc {
        font-size: 0.86rem;
        line-height: 1.6;
    }
}

/* ============================================
   LANDSCAPE ORIENTATION FIX FOR MOBILE
   ============================================ */

@media (max-width: 968px) and (orientation: landscape) {
    .procedure-hero {
        height: 70vh;
        min-height: 400px;
        max-height: 500px;
    }

    .hero-content-wrapper {
        padding: 2rem;
    }

    .hero-brand-logo {
        left: 2rem;
        top: 2rem;
        max-width: 130px;
    }

    .content-grid {
        grid-template-columns: 1fr 1fr;
    }

    .image-side,
    .image-side img {
        max-height: unset;
        height: 100%;
    }
}