/* ============================================
   MARY COHR CATIOVITAL LIFT 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));
}

/* Hero Device Image - Right Side */
.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 fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateY(-50%) translateX(50px); }
    to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* ============================================
   TITLE SECTION
   ============================================ */

.title-section {
    padding: 3rem 3rem;
    background: #fff;
    text-align: center;
}

.title-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

/* ============================================
   QUICK INFO SECTION
   ============================================ */

.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;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.how-it-works-section {
    padding: 5rem 3rem;
    background: #fff;
}

.how-it-works-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.how-it-works-section .secondary-title {
    text-align: center;
    margin-bottom: 3rem;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 4rem;
    align-items: center;
}

.how-it-works-image img {
    width: 100%;
    height: 100%;
    max-height: 580px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 35px rgba(201,169,97,0.2);
}

.intro-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.85;
    margin-bottom: 2.5rem;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
    padding-bottom: 2rem;
}

.step-item:last-child {
    padding-bottom: 0;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 10px;
    top: 22px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #c9a961, rgba(201,169,97,0.1));
}

.step-marker {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #c9a961, #b4944d);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 3px;
    box-shadow: 0 3px 10px rgba(201,169,97,0.4);
}

.step-body h3 {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 700;
    margin: 0 0 0.4rem 0;
}

.step-body p {
    font-size: 0.98rem;
    color: #666;
    line-height: 1.75;
    margin: 0;
}

/* ============================================
   WHY CATIOVITAL LIFT SECTION
   ============================================ */

.why-section {
    padding: 5rem 3rem;
    background: #f8f9fa;
}

.why-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.why-section .secondary-title {
    text-align: center;
    margin-bottom: 3rem;
}

.why-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: center;
}

.why-image img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 35px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(201,169,97,0.25);
}

.why-card {
    background: linear-gradient(135deg, #c9a961 0%, #b4944d 100%);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 8px 30px rgba(201,169,97,0.3);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.why-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.why-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.why-item:first-child {
    padding-top: 0;
}

.why-icon {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    flex-shrink: 0;
    margin-top: 2px;
    font-weight: 700;
}

.why-item p {
    font-size: 1.05rem;
    color: #fff;
    line-height: 1.75;
    margin: 0;
    font-weight: 400;
}

/* ============================================
   PROCESS / VIDEO SECTION
   ============================================ */

.process-section {
    padding: 5rem 3rem;
    background: #fff;
}

.process-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.process-section .secondary-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.process-video {
    max-width: 1000px;
    margin: 0 auto;
}

.process-video iframe {
    width: 100%;
    height: 560px;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.process-video iframe:hover {
    box-shadow: 0 8px 35px rgba(201, 169, 97, 0.25);
    transform: translateY(-3px);
}

/* ============================================
   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;
    }

    .hero-device-image {
        max-width: 320px;
    }

    /* How it works */
    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .how-it-works-image img {
        max-height: 380px;
    }

    /* Why section */
    .why-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .why-image img {
        max-height: 360px;
    }

    /* Video */
    .process-video iframe {
        height: 450px;
    }
}

/* ============================================
   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 {
        left: 1.5rem;
        top: 2rem;
        max-width: 140px;
    }

    .hero-device-image {
        right: 1.5rem;
        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;
    }

    .how-it-works-section {
        padding: 4rem 1.5rem;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-body h3 {
        font-size: 1rem;
    }

    .why-section {
        padding: 4rem 1.5rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-card {
        padding: 2rem 1.5rem;
    }

    .why-item p {
        font-size: 1rem;
    }

    .process-section {
        padding: 4rem 1.5rem;
    }

    .process-video iframe {
        height: 350px;
    }
}

/* ============================================
   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;
    }

    .hero-device-image {
        right: 1rem;
        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;
    }

    .how-it-works-section {
        padding: 3rem 1rem;
    }

    .intro-text {
        font-size: 0.95rem;
    }

    .why-section {
        padding: 3rem 1rem;
    }

    .why-card {
        padding: 1.5rem 1.2rem;
    }

    .why-item p {
        font-size: 0.95rem;
    }

    .process-section {
        padding: 3rem 1rem;
    }

    .process-video iframe {
        height: 250px;
    }
}

/* ============================================
   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-brand-logo {
        left: 2rem;
        top: 2rem;
        max-width: 130px;
    }

    .hero-device-image {
        right: 2rem;
        max-width: 180px;
    }

    .process-video iframe {
        height: 400px;
    }
}