/* ============================================
   PRESSOTHERAPY PAGE STYLES
   ============================================ */

/* Hero Cover Section — matches CatioVital exactly */
.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: center;
    justify-content: center;
}

/* Hero Device Image — right side, vertically centered (matches CatioVital) */
.hero-device-image {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    max-width: 450px;
    animation: fadeInRight 1s ease-out;
}

.hero-device-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.4));
}

/* Animations */
@keyframes fadeInRight {
    from { opacity: 0; transform: translateY(-50%) translateX(50px); }
    to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* ============================================
   TITLE SECTION — matches CatioVital exactly
   ============================================ */

.title-section {
    padding: 3rem 3rem;
    background: #fff;
    text-align: center;
}

.title-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

/* ============================================
   QUICK INFO SECTION — matches CatioVital exactly
   ============================================ */

.quick-info {
    background: linear-gradient(135deg, #c9a961 0%, #b4944d 100%);
    padding: 0.1rem;
    margin: 0 auto;
}

.quick-info .container {
    max-width: 1400px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem;
}

.info-card {
    background: transparent;
    padding: 1.5rem 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card img {
    width: 60px;
    height: auto;
    flex-shrink: 0;
}

.info-card h3 {
    font-size: 1rem;
    color: white;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    flex: 1;
}

/* ============================================
   CONTENT SECTIONS — alternating layout
   ============================================ */

.content-section {
    padding: 5rem 3rem;
}

.content-section--light {
    background: #fff;
}

.content-section--gray {
    background: #f8f9fa;
}

.content-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.content-grid {
    display: grid;
    gap: 5rem;
    align-items: center;
}

.content-grid--text-left {
    grid-template-columns: 1fr 420px;
}

.content-grid--image-left {
    grid-template-columns: 420px 1fr;
}

/* Content Text */
.content-text .secondary-title {
    text-align: left;
    margin-bottom: 2rem;
}

.content-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.85;
    margin-bottom: 1.2rem;
}

.content-text p:last-child {
    margin-bottom: 0;
}

/* Content Image */
.content-image img {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 35px rgba(201,169,97,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.content-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 45px rgba(201,169,97,0.3);
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */

@media (max-width: 1024px) {
    .procedure-hero {
        height: 70vh;
        max-height: 700px;
    }

    .hero-content-wrapper {
        padding: 2.5rem 3rem;
    }

    .hero-device-image {
        max-width: 320px;
    }

    .content-grid--text-left,
    .content-grid--image-left {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* On tablet, image-left becomes image-below (reorder) */
    .content-grid--image-left .content-image {
        order: 2;
    }

    .content-grid--image-left .content-text {
        order: 1;
    }
}

/* ============================================
   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-device-image {
        max-width: 160px;
    }

    .title-section {
        padding: 4rem 2rem;
    }

    .quick-info {
        padding: 3rem 1.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-card {
        padding: 1.2rem 1rem;
    }

    .info-card img {
        width: 60px;
    }

    .info-card h3 {
        font-size: 0.95rem;
    }

    .content-section {
        padding: 4rem 1.5rem;
    }

    .content-grid--text-left,
    .content-grid--image-left {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-text p {
        font-size: 0.95rem;
    }
}

/* ============================================
   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-device-image {
        max-width: 120px;
    }

    .title-section {
        padding: 3rem 1.5rem;
    }

    .quick-info {
        padding: 2.5rem 1rem;
    }

    .info-card {
        padding: 1rem 0.8rem;
        gap: 1rem;
    }

    .info-card img {
        width: 50px;
    }

    .info-card h3 {
        font-size: 0.9rem;
    }

    .content-section {
        padding: 3rem 1rem;
    }

    .content-text p {
        font-size: 0.92rem;
    }
}

/* ============================================
   LANDSCAPE ORIENTATION FIX
   ============================================ */

@media (max-width: 968px) and (orientation: landscape) {
    .procedure-hero {
        height: 70vh;
        min-height: 400px;
        max-height: 500px;
    }

    .hero-content-wrapper {
        padding: 2rem;
    }

    .hero-device-image {
        max-width: 180px;
    }
}