/* ============================================
   ALMA HARMONY 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 {
    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 {
    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));
}

@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;
}

.tech-icons-inline {
    display: inline-flex;
    gap: 0.4rem;
    vertical-align: middle;
    margin-left: 0.4rem;
}

.tech-icons-inline img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* ============================================
   OVERVIEW INFO SECTION
   ============================================ */

/* ============================================
   OVERVIEW INFO SECTION
   ============================================ */

.overview-info-section {
    background: #f8f9fa;
    padding: 4rem 3rem;
}

.overview-info-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Two-column split: left text, right cards */
.overview-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

/* ---- Left side ---- */
.overview-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    top: 2rem;
}

.overview-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1.25;
    margin: 0;
}

.overview-main-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.85;
    margin: 0;
}

/* ---- Right side: card grid ---- */
.overview-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.overview-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.6rem 1.5rem;
    box-shadow: 0 3px 14px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.overview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(201, 169, 97, 0.15);
}

.overview-card--wide {
    grid-column: 1 / -1;
}

.overview-card h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #c9a961;
    margin: 0;
}

.overview-card p {
    font-size: 0.97rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Tech icons inside card */
.overview-tech-icons {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: center;
}

.overview-tech-icons img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.overview-tech-icons img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 6px rgba(201, 169, 97, 0.35));
}

/* ============================================
   INTEGRATED TECHNOLOGIES SECTION
   ============================================ */

.integrated-tech-section {
    padding: 5rem 3rem;
    background: #fff;
}

.integrated-tech-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.integrated-tech-section .secondary-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.alt-content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.alt-content-block:last-child {
    margin-bottom: 0;
}

.alt-content-block.reverse {
    direction: rtl;
}

.alt-content-block.reverse > * {
    direction: ltr;
}

.alt-content-text {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.alt-content-text h2 {
    font-size: 1.7rem;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.5rem;
}

.alt-content-text p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.85;
    margin: 0;
}

.alt-content-text .footnote {
    font-size: 0.88rem;
    color: #888;
    font-style: italic;
}

.alt-content-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alt-content-image img:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(201,169,97,0.22);
}

/* ============================================
   TOP TECHNOLOGIES SECTION
   ============================================ */

.top-tech-section {
    padding: 5rem 3rem;
    background: #f8f9fa;
}

.top-tech-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.top-tech-section .secondary-title {
    text-align: center;
    margin-bottom: 3rem;
}

.top-tech-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.top-tech-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem 2.5rem;
    border-radius: 14px;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.top-tech-item:hover {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.top-tech-content p {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.85;
    margin: 0;
    padding-top: 0.6rem;
}

/* ============================================
   APPLICATORS CAROUSEL SECTION
   ============================================ */

.applicators-section {
    padding: 5rem 3rem;
    background: #fff;
}

.applicators-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.applicators-section .secondary-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.applicators-carousel-wrapper {
    position: relative;
}

.applicators-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: #c9a961 #f0e8d5;
}

.applicators-carousel::-webkit-scrollbar {
    height: 6px;
}

.applicators-carousel::-webkit-scrollbar-track {
    background: #f0e8d5;
    border-radius: 10px;
}

.applicators-carousel::-webkit-scrollbar-thumb {
    background: #c9a961;
    border-radius: 10px;
}

.applicator-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.09);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.applicator-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 35px rgba(201,169,97,0.22);
}

.applicator-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.applicator-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.applicator-card:hover .applicator-img img {
    transform: scale(1.05);
}

.applicator-body {
    padding: 1.5rem 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.applicator-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: #c9a961;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.applicator-body h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.applicator-body p {
    font-size: 0.93rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

/* Carousel navigation buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    background: linear-gradient(135deg, #c9a961, #b4944d);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.carousel-btn:hover {
    opacity: 0.85;
    transform: translateY(-60%) scale(1.08);
}

.carousel-btn--prev {
    left: -22px;
}

.carousel-btn--next {
    right: -22px;
}

/* ============================================
   INCLUDED PROCEDURES SECTION
   ============================================ */

.procedures-included-section {
    padding: 5rem 3rem;
    background: #f8f9fa;
}

.procedures-included-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.procedures-included-section .secondary-title {
    text-align: center;
    margin-bottom: 3rem;
}

.procedures-included-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: center;
}

.procedures-device-img {
    width: 380px;
    flex-shrink: 0;
}

.procedures-device-img img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    display: block;
}

.procedures-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.procedure-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.1rem 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
}

.procedure-item:hover {
    transform: translateX(6px);
    box-shadow: 0 4px 20px rgba(201,169,97,0.18);
}

.procedure-item img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.procedure-item span {
    font-size: 1.05rem;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
}

/* ============================================
   TREATMENT 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;
    display: block;
}

.process-video iframe:hover {
    box-shadow: 0 8px 35px rgba(201, 169, 97, 0.25);
    transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================ */

@media (max-width: 1024px) {
    /* Hero */
    .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; }
    
    .overview-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .overview-left {
        position: static;
    }
    .overview-cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Integrated tech */
    .alt-content-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .alt-content-block.reverse { direction: ltr; }

    /* Procedures grid */
    .procedures-included-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .procedures-device-img {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Video */
    .process-video iframe { height: 450px; }

    /* Carousel buttons */
    .carousel-btn--prev { left: 0; }
    .carousel-btn--next { right: 0; }
}

/* ============================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================ */

@media (max-width: 768px) {
    /* Hero */
    .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 */
    .title-section { padding: 4rem 2rem; }

    /* Quick Info */
    .overview-info-section {
        padding: 3rem 1.5rem;
    }
    .overview-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .overview-cards-grid {
        grid-template-columns: 1fr;
    }
    .overview-card--wide {
        grid-column: 1;
    }
    .overview-main-title {
        font-size: 1.7rem;
    }
    .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; }

    /* Integrated tech */
    .integrated-tech-section { padding: 4rem 1.5rem; }
    .alt-content-block { margin-bottom: 3rem; }
    .alt-content-text h2 { font-size: 1.4rem; }
    .alt-content-image img { height: 260px; }

    /* Top tech */
    .top-tech-section { padding: 4rem 1.5rem; }
    .top-tech-item { padding: 1.5rem 1rem; gap: 1.2rem; }

    /* Top Tech: icon stacks above content */
    .top-tech-item { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .top-tech-icon { display: flex; justify-content: center; width: 100%; }
    .top-tech-icon img { width: 80px; height: 80px; object-fit: contain; }

    /* Procedures */
    .procedures-included-section { padding: 4rem 1.5rem; }
    .procedure-item span { font-size: 0.97rem; }

    /* Video */
    .process-section { padding: 4rem 1.5rem; }
    .process-video iframe { height: 350px; }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================ */

@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; }

    .overview-info-section {
        padding: 2.5rem 1rem;
    }
    .overview-main-title {
        font-size: 1.45rem;
    }
    .info-card { padding: 1rem 0.8rem; gap: 1rem; }
    .info-card img { width: 50px; }
    .info-card h3 { font-size: 0.9rem; }

    .integrated-tech-section { padding: 3rem 1rem; }
    .alt-content-text h2 { font-size: 1.2rem; }
    .alt-content-image img { height: 220px; }

    .top-tech-section { padding: 3rem 1rem; }
    .top-tech-item { padding: 1.2rem 0.8rem; }

    .applicators-section { padding: 3rem 1rem; }
    .applicator-card { flex: 0 0 calc(100vw - 2rem); max-width: 100%; }
    .applicator-img { height: 160px; }
    .applicator-img img { height: 160px; object-fit: contain; margin: auto; }

    .procedures-included-section { padding: 3rem 1rem; }
    .procedure-item { padding: 0.9rem 1rem; gap: 0.9rem; }
    .procedure-item img { width: 28px; height: 28px; }
    .procedure-item span { font-size: 0.92rem; }

    .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; }
}