/* ================================================================
   HOME4 — Cozmaa cosmetic dermatology UI
   Reference design ported with h4- prefix to avoid clash with site.css
   Brand: --primary #99489d (purple) · --secondary #49b0c1 (teal)
   Font: Poppins (display) + Roboto (body) inherited from site.css
   ================================================================ */

:root {
    --h4-c-primary:        var(--primary);
    --h4-c-primary-dark:   var(--primary-dark);
    --h4-c-primary-light:  var(--primary-light);
    --h4-c-secondary:      var(--secondary);
    --h4-c-text:           #2a2a38;
    --h4-c-muted:          #6b6b7c;
    --h4-c-light:          #f7f6fa;
    --h4-c-border:         #e8e5ef;
    --h4-c-dark:           #1a1a24;

    --h4-radius-sm: 6px;
    --h4-radius:    10px;
    --h4-radius-lg: 14px;

    --h4-shadow-sm: 0 2px 8px rgba(26,26,36,.06);
    --h4-shadow:    0 10px 30px rgba(26,26,36,.08);
    --h4-shadow-lg: 0 20px 50px rgba(26,26,36,.12);

    --h4-ease: cubic-bezier(.22,.61,.36,1);

    /* legacy aliases for any inline Razor styles */
    --h4-gold:        var(--primary);
    --h4-gold-dark:   var(--primary-dark);
    --h4-gold-light:  var(--primary-light);
}

/* ── Section padding / utilities ─────────────────────────────── */
.h4-section-pad {
    padding: 60px 0;
}
.h4-section-pad > .container { width: 100%; }
.h4-bg-light { background: var(--h4-c-light); }
.h4-bg-gradient { background: linear-gradient(135deg, var(--h4-c-primary) 0%, var(--h4-c-primary-dark) 100%); }
.h4-text-muted { color: var(--h4-c-muted); }
.h4-text-light { color: rgba(255,255,255,.85); }
.h4-mb-30 { margin-bottom: 30px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.h4-btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px; font-weight: 600;
    padding: 12px 24px;
    border-radius: 10px;
    border: 1.5px solid transparent;
    transition: all .25s var(--h4-ease);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
    outline: none !important;
}
.h4-btn:focus, .h4-btn:active { outline: none !important; box-shadow: none; }
.h4-btn-lg { padding: 15px 30px; font-size: 14.5px; }
.h4-btn-block { display: flex; width: 100%; justify-content: center; }

.h4-btn-primary {
    background: var(--h4-c-primary); color: #fff !important;
    border-color: var(--h4-c-primary);
    box-shadow: 0 8px 22px rgba(153,72,157,.28);
}
.h4-btn-primary:hover {
    background: var(--h4-c-primary-dark);
    border-color: var(--h4-c-primary-dark);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(153,72,157,.38);
    text-decoration: none;
}

.h4-btn-outline {
    background: transparent; color: var(--h4-c-primary) !important;
    border-color: var(--h4-c-primary);
}
.h4-btn-outline:hover {
    background: var(--h4-c-primary); color: #fff !important;
    text-decoration: none;
    transform: translateY(-2px);
}

.h4-btn-outline-light {
    background: transparent; color: #fff !important;
    border-color: rgba(255,255,255,.7);
}
.h4-btn-outline-light:hover {
    background: #fff; color: var(--h4-c-dark) !important;
    border-color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.h4-btn-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--h4-c-primary); font-weight: 500; font-size: 13.5px;
    transition: gap .2s, color .2s;
    text-decoration: none;
}
.h4-btn-link:hover { gap: 10px; color: var(--h4-c-primary-dark); text-decoration: none; }

/* ── Section heads ───────────────────────────────────────────── */
.h4-section-head { margin-bottom: 36px; }
.h4-eyebrow {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 11px; font-weight: 600;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--h4-c-primary);
    margin-bottom: 8px;
}
.h4-eyebrow--light { color: rgba(255,255,255,.92); }

.h4-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 600;
    color: var(--h4-c-dark);
    margin: 0 0 14px;
    line-height: 1.2;
}
.h4-section-title--light { color: #fff; }

.h4-decor {
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--h4-c-primary), var(--h4-c-secondary));
    border-radius: 3px;
    margin: 0 auto;
}
.h4-section-head.text-center .h4-decor,
.text-center > .h4-decor { margin: 0 auto; }
.h4-decor--left { margin: 0 0 24px 0; }
.h4-decor--light { background: linear-gradient(90deg, #fff, rgba(255,255,255,.4)); }

/* ================================================================
   S1 — HERO
   ================================================================ */
.h4-hero {
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 0;
    outline: 0;
    margin: 0;
    padding: 0;
    line-height: 0;
}
.h4-hero-slide {
    border: 0;
    outline: 0;
    margin: 0;
    line-height: 1.5;
}
.h4-hero-slider, .h4-hero-slider .owl-stage-outer { line-height: 0; margin: 0; }
.h4-hero-slider .owl-item { line-height: 1.5; }
.h4-hero-slider .owl-stage,
.h4-hero-slider .owl-item,
.h4-hero-slider { position: relative; }
.h4-hero-slide {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 800;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex !important;
    align-items: center;
    overflow: hidden;
}
/* Mobile hero — better visual: cleaner aspect, uniform dark overlay, centered content */
@media (max-width: 991px) {
    .h4-hero-slide {
        aspect-ratio: 4 / 5;
        background-position: center center;
    }
}
@media (max-width: 575px) {
    .h4-hero-slide {
        aspect-ratio: auto;
        min-height: 78vh;
        max-height: 720px;
        background-position: center 30%;
    }
    /* Stronger uniform dark overlay so text always readable */
    .h4-hero-overlay {
        background:
            linear-gradient(180deg, rgba(20,18,30,.5) 0%, rgba(20,18,30,.88) 100%),
            radial-gradient(circle at 50% 50%, rgba(153,72,157,.32), transparent 70%) !important;
    }
    .h4-hero-content {
        max-width: 100%;
        padding: 40px 0 32px;
        text-align: center;
    }
    .h4-hero-eyebrow {
        margin-left: auto; margin-right: auto;
        margin-bottom: 14px;
    }
    .h4-hero-title { font-size: 1.8rem !important; line-height: 1.18; margin-bottom: 12px; letter-spacing: -.5px; }
    .h4-hero-desc {
        font-size: .9rem;
        margin-left: auto; margin-right: auto;
        margin-bottom: 20px;
        line-height: 1.65;
    }
    .h4-hero-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    .h4-hero-actions .h4-btn { justify-content: center; width: 100%; padding: 13px 22px; }
    .h4-hero-side-stats {
        flex-direction: row !important;
        justify-content: center;
        gap: 0 !important;
        margin: 22px auto 0 !important;
        padding-top: 18px !important;
        border-top: 1px solid rgba(255,255,255,.18) !important;
        max-width: 100% !important;
    }
    .h4-hero-side-stat {
        flex: 1; padding: 0 6px !important; min-width: 0 !important;
        text-align: center !important;
        margin: 0 !important;
    }
    .h4-hero-side-stat:not(:last-child) {
        border-right: 1px solid rgba(255,255,255,.15) !important;
        padding-right: 6px !important;
    }
    .h4-hero-side-stat-num {
        font-size: 1.05rem !important;
        background: linear-gradient(135deg, #fff, #ffd6f8) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        margin-bottom: 4px !important;
    }
    .h4-hero-side-stat-label {
        font-size: .52rem !important;
        letter-spacing: 1px !important;
        color: rgba(255,255,255,.65) !important;
    }
}
.h4-hero-overlay {
    position: absolute; inset: 0;
    background:
        /* bottom fade — darkens any white/light content near the bottom of every banner */
        linear-gradient(180deg, transparent 60%, rgba(20,18,30,.55) 100%),
        /* left purple radial accent */
        radial-gradient(900px 600px at 0% 50%, rgba(153,72,157,.35), transparent 60%),
        /* main left-to-right dark gradient (text readability) */
        linear-gradient(95deg, rgba(20,18,30,.92) 0%, rgba(20,18,30,.72) 40%, rgba(20,18,30,.45) 70%, rgba(20,18,30,.30) 100%);
}

/* Decorative shapes — disabled (were causing a thin teal arc at bottom of hero) */
.h4-hero-decor { display: none !important; }
@keyframes h4Spin { to { transform: rotate(360deg); } }

.h4-hero-content {
    position: relative; z-index: 2;
    max-width: 640px;
    color: #fff;
    padding: 60px 0;
}

.h4-hero-eyebrow {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 11.5px; font-weight: 600;
    letter-spacing: 4px; text-transform: uppercase;
    color: var(--h4-c-secondary);
    padding: 7px 14px;
    border: 1px solid rgba(73,176,193,.4);
    border-radius: 6px;
    background: rgba(73,176,193,.1);
    margin-bottom: 22px;
    backdrop-filter: blur(6px);
    animation: h4FadeUp .8s var(--h4-ease) .1s both;
}

.h4-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.9rem, 3.8vw, 2.9rem);
    font-weight: 600;
    color: #fff;
    margin: 0 0 18px;
    line-height: 1.14;
    letter-spacing: -.5px;
    animation: h4FadeUp .8s var(--h4-ease) .25s both;
    text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.h4-hero-title em {
    font-style: italic;
    font-weight: 600;
    background: linear-gradient(135deg, var(--h4-c-primary-light), var(--h4-c-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.h4-hero-desc {
    font-size: .96rem;
    color: rgba(255,255,255,.85);
    max-width: 520px;
    margin: 0 0 26px;
    line-height: 1.7;
    animation: h4FadeUp .8s var(--h4-ease) .4s both;
}

.h4-hero-actions {
    display: flex; flex-wrap: wrap; gap: 14px;
    animation: h4FadeUp .8s var(--h4-ease) .55s both;
}

.h4-hero-trust {
    display: flex; align-items: center; gap: 16px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.18);
    animation: h4FadeUp .8s var(--h4-ease) .7s both;
    flex-wrap: wrap;
}
.h4-hero-trust-stars {
    color: #ffc857;
    font-size: 14px;
    display: flex; gap: 3px;
}
.h4-hero-trust-text {
    display: flex; flex-direction: column; gap: 2px;
}
.h4-hero-trust-text strong {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
}
.h4-hero-trust-text span {
    color: rgba(255,255,255,.65);
    font-size: 11.5px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.h4-hero-trust-divider {
    width: 1px; height: 32px;
    background: rgba(255,255,255,.18);
}

@keyframes h4FadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Owl dots */
.h4-hero .owl-dots {
    position: absolute;
    bottom: 28px; left: 0; right: 0;
    text-align: center;
    z-index: 5;
}
.h4-hero .owl-dot span {
    background: rgba(255,255,255,.3) !important;
    width: 8px !important; height: 8px !important;
    border-radius: 50% !important;
    margin: 0 5px !important;
    transition: all .35s !important;
}
.h4-hero .owl-dot.active span {
    background: var(--h4-c-secondary) !important;
    width: 32px !important;
    border-radius: 4px !important;
}

/* Scroll indicator */
.h4-hero-scroll {
    position: absolute;
    bottom: 30px; right: 30px;
    z-index: 5;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255,255,255,.6);
    font-family: 'Poppins', sans-serif;
    font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
    text-decoration: none;
    transition: color .25s;
}
.h4-hero-scroll:hover { color: var(--h4-c-secondary); text-decoration: none; }
.h4-hero-scroll-line {
    width: 1px; height: 44px;
    background: linear-gradient(180deg, transparent, var(--h4-c-secondary), transparent);
    animation: h4ScrollPulse 2.2s ease-in-out infinite;
}
@keyframes h4ScrollPulse {
    0%, 100% { opacity: .4; transform: scaleY(1); }
    50%       { opacity: 1; transform: scaleY(1.15); }
}

/* ================================================================
   S1.5 — TREATMENT MARQUEE
   ================================================================ */
.h4-marquee-bar {
    background: linear-gradient(135deg, var(--h4-c-primary) 0%, var(--h4-c-primary-dark) 50%, #4d2055 100%);
    padding: 18px 0;
    overflow: hidden;
    position: relative;
}
.h4-marquee-bar::before, .h4-marquee-bar::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.h4-marquee-bar::before { left: 0;  background: linear-gradient(90deg, var(--h4-c-primary), transparent); }
.h4-marquee-bar::after  { right: 0; background: linear-gradient(-90deg, var(--h4-c-primary-dark), transparent); }
.h4-marquee-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: h4MarqueeMove 36s linear infinite;
}
@keyframes h4MarqueeMove {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.h4-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .3px;
    text-decoration: none;
    padding: 6px 14px;
    transition: color .25s;
}
.h4-marquee-item:hover { color: #ffe8fb; text-decoration: none; }
.h4-marquee-item i { color: var(--h4-c-secondary); font-size: 16px; }
.h4-marquee-dot {
    display: inline-block;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    margin: 0 8px;
}

/* ================================================================
   S2 — STATS BAR (overlapping card)
   ================================================================ */
.h4-stats {
    position: relative;
    z-index: 6;
    padding: 0;
}
.h4-stats-card {
    background: linear-gradient(135deg, var(--h4-c-primary) 0%, var(--h4-c-primary-dark) 100%);
    color: #fff;
    padding: 50px 40px;
    margin: -60px auto 0;
    max-width: 1160px;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(153,72,157,.3);
    position: relative;
    overflow: hidden;
}
.h4-stats-card::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(600px 300px at 100% 0%, rgba(73,176,193,.25), transparent 60%);
    pointer-events: none;
}
.h4-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.h4-stat-item { padding: 8px 12px; position: relative; }
.h4-stat-item:not(:last-child)::after {
    content: '';
    position: absolute; right: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: rgba(255,255,255,.2);
}
.h4-stat-num {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
    color: #fff;
}
.h4-stat-label {
    font-size: 12.5px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255,255,255,.85);
    font-weight: 500;
}

/* ================================================================
   S2 — INTRO  (brand story + image — compact)
   ================================================================ */
.h4-intro {
    background: #fff;
    padding: 60px 0 !important;
    min-height: auto !important;
    display: block !important;
}
.h4-intro > .container { width: 100%; }
.h4-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}
.h4-intro .h4-section-title { margin-bottom: 14px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.h4-intro .h4-decor--left { margin-bottom: 18px; }
.h4-intro-lead {
    font-size: .94rem;
    color: var(--h4-c-muted);
    line-height: 1.7;
    margin: 0 0 18px;
    max-width: 520px;
}
.h4-intro-points {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 20px;
}
.h4-intro-point {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .9rem;
    color: var(--h4-c-text);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}
.h4-intro-point i {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(153,72,157,.1), rgba(73,176,193,.1));
    color: var(--h4-c-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all .25s var(--h4-ease);
}
.h4-intro-point:hover i {
    background: linear-gradient(135deg, var(--h4-c-primary), var(--h4-c-primary-dark));
    color: #fff;
    transform: scale(1.05);
}
.h4-intro-img-wrap {
    position: relative;
    border-radius: var(--h4-radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--h4-shadow-lg);
}
.h4-intro-img-wrap::before {
    content: '';
    position: absolute;
    inset: 14px -14px -14px 14px;
    border: 1.5px solid var(--h4-c-primary);
    border-radius: var(--h4-radius-lg);
    z-index: -1;
    opacity: .3;
}
.h4-intro-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s var(--h4-ease);
}
.h4-intro-img-wrap:hover .h4-intro-img { transform: scale(1.04); }

/* ================================================================
   S3 — SERVICES GRID  (image-led premium cards)
   ================================================================ */
.h4-services {
    background: #fff;
    position: relative;
    overflow: hidden;
    padding: 50px 0 !important;
}
.h4-services .h4-section-head { margin-bottom: 28px; }
.h4-services::before {
    content: '';
    position: absolute;
    top: -120px; right: -100px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(153,72,157,.08), transparent 70%);
    pointer-events: none;
}
.h4-section-sub {
    max-width: 540px;
    margin: 14px auto 0;
    color: var(--h4-c-muted);
    font-size: .92rem;
    line-height: 1.65;
}
.h4-svc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.h4-svc-card {
    background: #fff;
    border: 1px solid var(--h4-c-border);
    border-radius: var(--h4-radius-lg);
    overflow: hidden;
    transition: all .35s var(--h4-ease);
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--h4-shadow-sm);
}
.h4-svc-card::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--h4-c-primary), var(--h4-c-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--h4-ease);
    z-index: 3;
}
.h4-svc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(122,55,128,.18);
    border-color: transparent;
    color: inherit;
    text-decoration: none;
}
.h4-svc-card:hover::after { transform: scaleX(1); }

.h4-svc-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    background: var(--h4-c-light);
}
.h4-svc-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .9s var(--h4-ease);
}
.h4-svc-card:hover .h4-svc-img img { transform: scale(1.08); }
.h4-svc-img-ph {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--h4-c-primary);
    font-size: 2.6rem;
    background: linear-gradient(135deg, rgba(153,72,157,.08), rgba(73,176,193,.08));
}
.h4-svc-num {
    position: absolute;
    top: 14px; left: 14px;
    background: rgba(255,255,255,.95);
    color: var(--h4-c-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 12px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    z-index: 2;
}
.h4-svc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(122,55,128,.6) 100%);
    opacity: 0;
    transition: opacity .35s var(--h4-ease);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 16px;
}
.h4-svc-card:hover .h4-svc-overlay { opacity: 1; }
.h4-svc-overlay-btn {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: #fff;
    color: var(--h4-c-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transform: translateY(8px);
    transition: transform .35s var(--h4-ease);
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.h4-svc-card:hover .h4-svc-overlay-btn { transform: translateY(0); }

.h4-svc-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #fff;
}
.h4-svc-title {
    font-family: 'Poppins', sans-serif;
    font-size: .98rem;
    margin: 0 0 6px;
    font-weight: 600;
    color: var(--h4-c-dark);
    line-height: 1.3;
    transition: color .25s;
}
.h4-svc-card:hover .h4-svc-title { color: var(--h4-c-primary); }
.h4-svc-desc {
    color: var(--h4-c-muted);
    font-size: .82rem;
    line-height: 1.55;
    margin: 0 0 10px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.h4-svc-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    color: var(--h4-c-primary);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: gap .25s;
}
.h4-svc-card:hover .h4-svc-link { gap: 12px; }

/* ================================================================
   S4 — WHY CHOOSE US
   ================================================================ */
.h4-why {
    background: var(--h4-c-light);
    padding: 50px 0 !important;
}
.h4-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}
.h4-why .h4-section-title { margin-bottom: 12px; }
.h4-why .h4-text-muted { font-size: .9rem; line-height: 1.7; margin-bottom: 18px !important; }
.h4-why-list { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.h4-why-item { display: flex; gap: 16px; align-items: flex-start; }
.h4-why-icon {
    flex-shrink: 0;
    width: 38px; height: 38px;
    background: #fff;
    color: var(--h4-c-primary);
    border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 15px;
    box-shadow: var(--h4-shadow-sm);
    border: 1px solid var(--h4-c-border);
    transition: all .3s var(--h4-ease);
}
.h4-why-item:hover .h4-why-icon {
    background: var(--h4-c-primary);
    color: #fff;
    transform: translateY(-3px);
    border-color: transparent;
}
.h4-why-text-inner h5 {
    font-family: 'Poppins', sans-serif;
    font-size: .94rem;
    margin: 0 0 2px;
    font-weight: 600;
    color: var(--h4-c-dark);
}
.h4-why-text-inner p {
    color: var(--h4-c-muted);
    font-size: .82rem;
    margin: 0;
    line-height: 1.55;
}
.h4-why-img-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--h4-shadow-lg);
    aspect-ratio: 5 / 4;
}
.h4-why-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s var(--h4-ease);
}
.h4-why-img-wrap:hover .h4-why-img { transform: scale(1.04); }
.h4-why-badge {
    position: absolute;
    bottom: 16px; left: 16px;
    background: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 12px 28px rgba(0,0,0,.14);
}
.h4-badge-num {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--h4-c-primary);
    line-height: 1;
}
.h4-badge-label {
    font-size: .65rem;
    color: var(--h4-c-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.35;
    font-weight: 500;
}

/* ================================================================
   S5 — BEFORE & AFTER GALLERY
   ================================================================ */
.h4-gallery { background: #fff; }
.h4-ba-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.h4-ba-item {
    background: #fff;
    border-radius: var(--h4-radius-lg);
    overflow: hidden;
    box-shadow: var(--h4-shadow-sm);
    border: 1px solid var(--h4-c-border);
    transition: all .3s var(--h4-ease);
}
.h4-ba-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--h4-shadow-lg);
    border-color: transparent;
}
.h4-ba-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--h4-c-border);
}
.h4-ba-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    background: var(--h4-c-light);
}
.h4-ba-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s var(--h4-ease);
}
.h4-ba-item:hover .h4-ba-img img { transform: scale(1.04); }
.h4-ba-tag {
    position: absolute;
    top: 10px; left: 10px;
    background: rgba(255,255,255,.95);
    color: var(--h4-c-dark);
    font-family: 'Poppins', sans-serif;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,.08);
}
.h4-ba-tag--after {
    background: var(--h4-c-primary);
    color: #fff;
}
.h4-ba-caption {
    padding: 12px 16px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--h4-c-dark);
    font-family: 'Poppins', sans-serif;
}

/* ================================================================
   S6 — TESTIMONIALS
   ================================================================ */
.h4-testi { position: relative; overflow: hidden; }
.h4-testi::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,.08) 1px, transparent 0);
    background-size: 24px 24px;
    opacity: .55;
}
.h4-testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    position: relative;
    z-index: 1;
}
.h4-testi-card {
    background: #fff;
    border-radius: var(--h4-radius-lg);
    padding: 26px 24px 22px;
    box-shadow: var(--h4-shadow);
    transition: transform .3s var(--h4-ease), box-shadow .3s var(--h4-ease);
    position: relative;
}
.h4-testi-card::before {
    content: '\201C';
    position: absolute;
    top: 14px; right: 24px;
    font-family: Georgia, serif;
    font-size: 4.5rem;
    color: rgba(153,72,157,.13);
    line-height: 1;
    font-weight: 700;
}
.h4-testi-card:hover { transform: translateY(-6px); box-shadow: var(--h4-shadow-lg); }
.h4-testi-stars {
    color: #ffc857;
    margin-bottom: 14px;
    font-size: .85rem;
    display: flex;
    gap: 2px;
}
.h4-testi-text {
    color: var(--h4-c-text);
    font-size: .9rem;
    line-height: 1.7;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.h4-testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--h4-c-border);
    padding-top: 18px;
}
.h4-testi-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--h4-c-primary), var(--h4-c-primary-dark));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    flex-shrink: 0;
}
.h4-testi-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--h4-c-dark);
    font-size: .95rem;
}
.h4-testi-role {
    color: var(--h4-c-primary);
    font-size: .76rem;
    letter-spacing: .3px;
    margin-top: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

/* ================================================================
   S7 — ENQUIRY / BOOKING
   ================================================================ */
.h4-enquiry {
    background: linear-gradient(135deg, var(--h4-c-primary-dark) 0%, var(--h4-c-primary) 50%, var(--h4-c-secondary) 130%);
    position: relative;
    overflow: hidden;
}
.h4-enquiry::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,.07) 1px, transparent 0);
    background-size: 28px 28px;
}
.h4-enquiry-wrap {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 44px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.h4-enquiry .h4-section-title { margin-bottom: 14px; }
.h4-enquiry-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.h4-enquiry-contact a, .h4-enquiry-contact span {
    color: rgba(255,255,255,.92) !important;
    font-size: .95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.h4-enquiry-contact a:hover { color: #fff !important; }
.h4-enquiry-contact i {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.h4-enquiry-form {
    background: #fff;
    border-radius: 12px;
    padding: 22px 22px 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,.18);
    max-width: 420px;
    margin-left: auto;
}
.h4-enquiry-form h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--h4-c-dark);
}
.h4-form-row { margin-bottom: 8px; }
.h4-enquiry-form input,
.h4-enquiry-form select,
.h4-enquiry-form textarea {
    width: 100%;
    padding: 11px 14px;
    font-family: 'Roboto', sans-serif;
    font-size: .9rem;
    border: 1px solid var(--h4-c-border);
    border-radius: 8px;
    background: var(--h4-c-light);
    color: var(--h4-c-text);
    transition: border-color .2s, box-shadow .2s, background .2s;
    outline: none;
    height: auto;
}
.h4-enquiry-form input:focus,
.h4-enquiry-form select:focus,
.h4-enquiry-form textarea:focus {
    border-color: var(--h4-c-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(153,72,157,.12);
}
.h4-enquiry-form .alert {
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: .85rem;
    padding: 8px 12px;
}
.h4-enquiry-form .h4-btn-block { margin-top: 8px; padding: 11px 18px; font-size: 13px; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1199px) {
    .h4-svc-grid    { grid-template-columns: repeat(3, 1fr); }
    .h4-ba-grid     { grid-template-columns: repeat(2, 1fr); }
    .h4-hero-decor--dot { display: none; }
}

@media (max-width: 991px) {
    .h4-section-pad {
        padding: 60px 0;
        min-height: auto;
        display: block;
    }

    .h4-hero-content { padding: 70px 0; max-width: 100%; }
    .h4-hero-title { font-size: clamp(1.9rem, 4.4vw, 2.6rem); }
    .h4-hero-desc  { font-size: .95rem; }
    .h4-hero-decor--ring { width: 200px; height: 200px; bottom: -60px; left: -60px; }
    .h4-hero-scroll { display: none; }
    .h4-hero-trust { gap: 14px; }
    .h4-hero-trust-divider { display: none; }

    .h4-stats-card { padding: 36px 24px; margin: -50px 16px 0; }
    .h4-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
    .h4-stat-item:nth-child(2)::after { display: none; }
    .h4-stat-item:not(:last-child)::after { display: none; }
    .h4-stat-item:nth-child(odd)::after {
        content: '';
        position: absolute; right: 0; top: 20%; bottom: 20%;
        width: 1px;
        background: rgba(255,255,255,.2);
        display: block;
    }

    .h4-svc-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }

    .h4-why-grid, .h4-enquiry-wrap, .h4-intro-grid { grid-template-columns: 1fr; gap: 44px; }
    .h4-intro-img-wrap { max-width: 540px; margin: 0 auto; aspect-ratio: 4 / 3; }
    .h4-intro-img-wrap::before { inset: 14px -14px -14px 14px; }
    .h4-why-img-wrap { max-width: 540px; margin: 0 auto; }

    .h4-testi-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
    .h4-ba-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .h4-section-pad { padding: 50px 0; min-height: auto; display: block; }

    .h4-hero-title { font-size: 1.85rem; line-height: 1.18; }
    .h4-hero-eyebrow { font-size: 10.5px; letter-spacing: 3px; padding: 6px 14px; }
    .h4-hero-actions { flex-direction: column; gap: 10px; }
    .h4-hero-actions .h4-btn { width: 100%; justify-content: center; }
    .h4-hero-trust { gap: 12px; padding-top: 22px; margin-top: 28px; }
    .h4-hero-trust-text strong { font-size: .95rem; }
    .h4-hero-trust-text span { font-size: 10.5px; }

    .h4-svc-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .h4-svc-card { padding: 22px 16px 20px; }
    .h4-svc-icon { width: 60px; height: 60px; font-size: 24px; }

    .h4-ba-grid { grid-template-columns: 1fr; }

    .h4-enquiry-form { padding: 28px 22px; }
    .h4-marquee-bar { padding: 14px 0; }
    .h4-marquee-item { font-size: 13px; padding: 4px 10px; }
}

@media (max-width: 479px) {
    .h4-section-pad { padding: 44px 0; min-height: auto; display: block; }
    .h4-hero-title { font-size: 1.6rem; }
    .h4-hero-desc { font-size: .9rem; }
    .h4-svc-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   MOBILE HERO — per-banner customisation (admin-controlled).
   Original Home4 look is the default; data-attributes from admin
   override individual aspects.
   ================================================================ */
@media (max-width: 575px) {
    .h4-hero-slide {
        background-position: var(--mfp, center 30%) !important;
        background-size: var(--mbgsize, cover) !important;
        background-color: var(--mbg, #1a0a26) !important;
        background-repeat: no-repeat !important;
    }

    /* ── Show/hide individual elements per banner ── */
    .h4-hero-slide[data-mob-show-eyebrow="0"] .h4-hero-eyebrow                       { display: none !important; }
    .h4-hero-slide[data-mob-show-desc="0"]    .h4-hero-desc                          { display: none !important; }
    .h4-hero-slide[data-mob-show-primary="0"] .h4-hero-actions .h4-btn-primary       { display: none !important; }
    .h4-hero-slide[data-mob-show-2nd="0"]     .h4-hero-actions .h4-btn-outline-light { display: none !important; }
    .h4-hero-slide[data-mob-show-trust="0"]   .h4-hero-trust                         { display: none !important; }

    /* ── Title size override ── */
    .h4-hero-slide[data-mob-tsize="S"] .h4-hero-title { font-size: 1.4rem !important; line-height: 1.18 !important; }
    .h4-hero-slide[data-mob-tsize="L"] .h4-hero-title { font-size: 2.2rem !important; line-height: 1.10 !important; }

    /* ── Content anchor (vertical position + alignment) ── */
    .h4-hero-slide[data-mob-anchor^="top-"]    { align-items: flex-start !important; }
    .h4-hero-slide[data-mob-anchor^="top-"]    .h4-hero-content { padding-top: 30px !important; padding-bottom: 30px !important; }
    .h4-hero-slide[data-mob-anchor^="center-"] { align-items: center !important; }
    .h4-hero-slide[data-mob-anchor^="bottom-"] { align-items: flex-end !important; }
    .h4-hero-slide[data-mob-anchor$="-left"]   .h4-hero-content { text-align: left !important;   }
    .h4-hero-slide[data-mob-anchor$="-center"] .h4-hero-content { text-align: center !important; }
    .h4-hero-slide[data-mob-anchor$="-right"]  .h4-hero-content { text-align: right !important;  }
    .h4-hero-slide[data-mob-anchor$="-left"]   .h4-hero-eyebrow,
    .h4-hero-slide[data-mob-anchor$="-left"]   .h4-hero-trust   { margin-left: 0 !important; margin-right: auto !important; }
    .h4-hero-slide[data-mob-anchor$="-right"]  .h4-hero-eyebrow,
    .h4-hero-slide[data-mob-anchor$="-right"]  .h4-hero-trust   { margin-right: 0 !important; margin-left: auto !important; }
}

/* ================================================================
   S7 — CTA STRIP (white card on soft purple bg)
   ================================================================ */
.h4-cta-strip {
    padding: 70px 0;
    background: var(--h4-c-soft, #faf6fb);
}
.h4-cta-strip-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 40px; align-items: center;
    background: #fff;
    border-radius: 14px;
    padding: 40px 44px;
    box-shadow: 0 18px 40px -16px rgba(122,55,128,.18);
    border: 1px solid #ebe6ec;
}
@media (max-width: 991px) {
    .h4-cta-strip-inner { grid-template-columns: 1fr; gap: 26px; padding: 30px 24px; }
}
.h4-cta-strip-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 700; letter-spacing: 4px;
    text-transform: uppercase; color: #99489d; margin-bottom: 12px;
}
.h4-cta-strip-eyebrow::before {
    content: ''; width: 24px; height: 1px; background: #99489d;
}
.h4-cta-strip-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 700; color: #2b2330;
    line-height: 1.2; margin: 0 0 10px; letter-spacing: -.4px;
}
.h4-cta-strip-title em {
    font-style: italic;
    background: linear-gradient(135deg, #7a3a7e, #99489d, #b96dbd);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.h4-cta-strip-text {
    color: #6b6b7c; font-size: .92rem; line-height: 1.7; margin: 0;
}
.h4-cta-strip-form { width: 100%; }
.h4-cta-strip-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px;
}
@media (max-width: 575px) {
    .h4-cta-strip-row { grid-template-columns: 1fr; }
}
.h4-cta-strip-form input {
    width: 100%; padding: 12px 14px;
    border: 1.5px solid #ebe6ec; border-radius: 10px;
    background: #faf6fb; font-size: .9rem;
    transition: all .25s; height: auto;
}
.h4-cta-strip-form input:focus {
    border-color: #99489d; background: #fff;
    box-shadow: 0 0 0 3px rgba(153,72,157,.1); outline: none;
}
.h4-cta-strip-form button {
    width: 100%;
    background: linear-gradient(135deg, #99489d, #7a3a7e);
    color: #fff; border: none; border-radius: 10px;
    padding: 14px; font-family: 'Poppins', sans-serif;
    font-weight: 700; font-size: .92rem;
    cursor: pointer; transition: all .25s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.h4-cta-strip-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(185,109,189,.4);
}

/* ================================================================
   S2 — OUR STORY  (Home2-style: image left with frame + badge, text right)
   ================================================================ */
.h4-about { padding: 80px 0; background: #fff; }
.h4-about-grid {
    display: grid; grid-template-columns: 1fr 1.1fr;
    gap: 50px; align-items: center;
}
@media (max-width: 991px) { .h4-about-grid { grid-template-columns: 1fr; gap: 40px; } }

.h4-about-img-wrap {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 40px -16px rgba(122,55,128,.18);
}
.h4-about-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.h4-about-frame {
    position: absolute;
    inset: 16px -16px -16px 16px;
    border: 1.5px solid #99489d;
    border-radius: 14px;
    z-index: -1;
    opacity: .35;
}
.h4-about-badge {
    position: absolute;
    bottom: 18px; left: 18px;
    background: #fff;
    padding: 14px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 16px 32px rgba(0,0,0,.14);
}
.h4-about-badge-num {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #99489d;
    line-height: 1;
}
.h4-about-badge-label {
    font-size: .68rem;
    color: #6b6b7c;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.4;
    font-weight: 600;
}

.h4-about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #99489d;
    margin-bottom: 12px;
}
.h4-about-eyebrow::before {
    content: '';
    width: 24px; height: 1px;
    background: #99489d;
}
.h4-about-h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.6rem, 2.8vw, 2.3rem);
    font-weight: 700;
    color: #2b2330;
    line-height: 1.2;
    margin: 0 0 14px;
    letter-spacing: -.4px;
}
.h4-about-h2 em {
    font-style: italic;
    background: linear-gradient(135deg, #7a3a7e, #99489d, #b96dbd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.h4-about-lead {
    font-size: .98rem;
    color: #6b6b7c;
    line-height: 1.85;
    margin: 0 0 22px;
    max-width: 560px;
}
.h4-about-points {
    list-style: none;
    padding: 0;
    margin: 18px 0 24px;
}
.h4-about-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #ebe6ec;
    font-size: .95rem;
    color: #2b2330;
    font-weight: 500;
}
.h4-about-points li:last-child { border-bottom: none; }
.h4-about-points i {
    width: 32px; height: 32px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(153,72,157,.1), rgba(73,176,193,.08));
    color: #99489d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
