/* ==========================================================
   HERO SECTION
   ========================================================== */
.sl-hero {
    position: relative;
    background:
        radial-gradient(ellipse at 78% 50%, rgba(160,130,100,0.18) 0%, transparent 52%),
        radial-gradient(ellipse at 10% 85%, rgba(92,122,94,0.1) 0%, transparent 42%),
        linear-gradient(135deg, #EFE6D8 0%, #E8DECE 38%, #DCCFBB 68%, #D3C3A9 100%);
    border-radius: 24px;
    margin: 24px 0 0;
    padding: 88px 72px;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(160,130,100,0.12);
}

.sl-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 70% 18%, rgba(255,255,255,0.26) 0%, transparent 26%),
        radial-gradient(circle at 90% 78%, rgba(160,130,100,0.14) 0%, transparent 20%);
    pointer-events: none;
}

.sl-hero-bg-shape {
    position: absolute;
    right: -1%;
    top: 0;
    bottom: 0;
    width: 46%;
    background:
        radial-gradient(ellipse at 40% 30%, rgba(255,255,255,0.32) 0%, transparent 40%),
        linear-gradient(150deg, rgba(210,192,170,0.5) 0%, rgba(190,168,142,0.82) 52%, rgba(172,146,118,0.68) 100%);
    clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.sl-hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.sl-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sl-sage);
    background: rgba(92,122,94,0.08);
    border: 1px solid rgba(92,122,94,0.18);
    border-radius: var(--sl-radius-pill);
    padding: 7px 14px;
    margin-bottom: 22px;
}

.sl-hero-eyebrow::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--sl-sage);
    flex-shrink: 0;
}

.sl-hero-title {
    font-family: var(--sl-font-display);
    font-size: clamp(42px, 5.5vw, 68px);
    font-weight: 400;
    line-height: 1.04;
    color: var(--sl-charcoal);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.sl-hero-sub {
    font-size: 15px;
    color: var(--sl-text-muted);
    line-height: 1.82;
    max-width: 46ch;
    margin-bottom: 38px;
    font-weight: 400;
}

.sl-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

/* Hero background image support */
.sl-hero[style*="background-image"] .sl-hero-bg-shape {
    display: none;
}

.sl-hero[style*="background-image"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, var(--sl-hero-overlay-opacity, 0));
    border-radius: inherit;
    z-index: 0;
}

.sl-hero[style*="background-image"] .sl-hero-content {
    position: relative;
    z-index: 1;
}

.sl-hero[style*="background-image"] .sl-hero-title,
.sl-hero[style*="background-image"] .sl-hero-eyebrow {
    color: var(--sl-white);
    text-shadow: 0 1px 4px rgba(0,0,0,0.18);
}

.sl-hero[style*="background-image"] .sl-hero-sub {
    color: rgba(255,255,255,0.88);
}

/* Homepage hero variant */
.sl-hero--homepage {
    padding: 76px 64px;
    min-height: 440px;
}

/* ==========================================================
   SUKOONLIVING HERO - SOFT SAGE EDITORIAL VERSION
   ========================================================== */

.sl-hero--decorative {
    display: block;
    background:
        radial-gradient(circle at 16% 18%, rgba(255,255,255,0.74) 0%, rgba(255,255,255,0.30) 14%, transparent 34%),
        linear-gradient(135deg, #f5f8f0 0%, #edf3e6 34%, #e4edd8 68%, #dce6cf 100%);
    border: 1px solid rgba(132, 154, 128, 0.16);
    box-shadow: 0 20px 48px rgba(74, 92, 74, 0.08);
    isolation: isolate;
    min-height: auto;
    padding: 40px 46px 38px;
}

.sl-hero--decorative::after {
    background:
        radial-gradient(circle at 84% 14%, rgba(255,255,255,0.28) 0%, transparent 18%),
        linear-gradient(90deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 34%);
    opacity: 1;
}

.sl-hero--decorative .sl-hero-bg-shape,
.sl-hero--decorative .sl-hero-scene {
    display: none;
}

.sl-hero--decorative .sl-hero-content {
    max-width: 760px;
    z-index: 3;
}

.sl-hero--decorative .sl-hero-brand {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin-bottom: 16px;
}

.sl-hero--decorative .sl-hero-brand a {
    text-decoration: none;
}

.sl-hero--decorative .sl-hero-brand .custom-logo-link,
.sl-hero--decorative .sl-hero-brand-fallback {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.sl-hero--decorative .sl-hero-brand .custom-logo-link {
    line-height: 0;
}

.sl-hero--decorative .sl-hero-brand .custom-logo {
    max-height: 50px;
    width: auto;
    display: block;
}

.sl-hero-brand-fallback {
    color: inherit;
}

.sl-hero-brand-mark {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(180deg, #ddbe67 0%, #cda547 100%);
    box-shadow: 0 10px 24px rgba(170, 143, 74, 0.18);
}

.sl-hero-brand-mark::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 4px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #edf3e6;
}

.sl-hero-brand-wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--sl-font-body);
    font-size: clamp(25px, 2.3vw, 33px);
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sl-hero-brand-word--primary {
    font-weight: 600;
    color: #435066;
}

.sl-hero-brand-word--secondary {
    font-weight: 400;
    color: rgba(67, 80, 102, 0.62);
}

.sl-hero--decorative .sl-hero-title {
    color: #1e2740;
    letter-spacing: -0.03em;
    line-height: 0.96;
    max-width: 11.2ch;
    font-size: clamp(38px, 4.4vw, 56px);
    margin-bottom: 18px;
}

.sl-hero--decorative .sl-hero-sub {
    color: #677061;
    max-width: 40ch;
    margin-bottom: 24px;
}

.sl-hero--decorative .sl-hero-eyebrow {
    color: #6e826f;
    background: rgba(145, 165, 143, 0.12);
    border-color: rgba(145, 165, 143, 0.22);
}

.sl-hero--decorative .sl-hero-eyebrow::before {
    background: #8ca08b;
}

.sl-hero--decorative .sl-btn-primary {
    background: #8ea48f;
    border-color: #8ea48f;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(120, 143, 121, 0.24);
}

.sl-hero--decorative .sl-btn-primary:hover,
.sl-hero--decorative .sl-btn-primary:focus {
    background: #7f957f;
    border-color: #7f957f;
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(120, 143, 121, 0.28);
}

.sl-hero--decorative .sl-btn-outline {
    background: rgba(255,255,255,0.74);
    border-color: rgba(76, 94, 77, 0.14);
    color: #1e2740;
}

.sl-hero--decorative .sl-btn-outline:hover,
.sl-hero--decorative .sl-btn-outline:focus {
    background: #ffffff;
    border-color: rgba(76, 94, 77, 0.22);
    color: #1e2740;
}

.sl-hero-scene {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    min-height: 388px;
    width: 100%;
    max-width: 520px;
    justify-self: end;
    z-index: 2;
}

.sl-hero-scene span {
    position: absolute;
    display: block;
}

.sl-hero-scene-glow {
    right: 12%;
    top: 10%;
    width: 48%;
    height: 44%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.58) 0%, rgba(255,255,255,0.14) 60%, transparent 78%);
}

.sl-hero-scene-panel {
    right: 7%;
    bottom: 9%;
    width: 72%;
    height: 70%;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(240,244,236,0.54) 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.46),
        0 22px 44px rgba(111, 126, 106, 0.08);
}

.sl-hero-scene-arch {
    right: 23%;
    bottom: 31%;
    width: 32%;
    height: 42%;
    border-radius: 999px 999px 0 0;
    border: 12px solid #b48d60;
    border-bottom: 0;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16), 0 20px 34px rgba(148, 118, 82, 0.10);
}

.sl-hero-scene-arch::after {
    content: '';
    position: absolute;
    inset: 12px 12px 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 50% 24%, rgba(255,255,255,0.86) 0%, rgba(255,255,255,0.24) 32%, transparent 56%),
        linear-gradient(180deg, rgba(246,248,242,0.98) 0%, rgba(225,233,217,0.60) 100%);
}

.sl-hero-scene-shelf {
    right: 15%;
    bottom: 24%;
    width: 52%;
    height: 7%;
    border-radius: 18px;
    background: linear-gradient(180deg, #cfb18a 0%, #bd9c73 100%);
    box-shadow: 0 14px 28px rgba(113, 90, 63, 0.12);
}

.sl-hero-scene-shelf::before,
.sl-hero-scene-shelf::after {
    content: '';
    position: absolute;
    top: 92%;
    width: 8%;
    height: 108%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(189,156,115,0.94) 0%, rgba(168,137,102,0.94) 100%);
}

.sl-hero-scene-shelf::before {
    left: 14%;
}

.sl-hero-scene-shelf::after {
    right: 14%;
}

.sl-hero-scene-pendant {
    right: 9%;
    top: 3%;
    width: 22%;
    height: 30%;
}

.sl-hero-scene-pendant::before,
.sl-hero-scene-pendant::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.sl-hero-scene-pendant::before {
    top: 0;
    width: 2px;
    height: 34%;
    background: rgba(122, 110, 92, 0.44);
}

.sl-hero-scene-pendant::after {
    bottom: 0;
    width: 100%;
    height: 70%;
    border-radius: 52% 52% 44% 44%;
    background: radial-gradient(circle at 50% 18%, rgba(255,255,255,0.24) 0%, transparent 38%), linear-gradient(180deg, #d8c2a0 0%, #bf9c71 100%);
    box-shadow: 0 16px 30px rgba(121, 96, 63, 0.12);
}

.sl-hero-scene-vase {
    bottom: 26.5%;
    background: linear-gradient(180deg, #f7f5ef 0%, #ddd7cd 100%);
    box-shadow: 0 8px 18px rgba(133, 134, 126, 0.10);
}

.sl-hero-scene-vase--tall {
    right: 43%;
    width: 10%;
    height: 19%;
    border-radius: 44% 44% 26% 26%;
}

.sl-hero-scene-vase--round {
    right: 27%;
    width: 11%;
    height: 12%;
    border-radius: 50%;
}

.sl-hero-scene-vase--tall::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 88%;
    width: 2px;
    height: 58%;
    background: rgba(151, 168, 145, 0.46);
    transform: translateX(-50%);
}

.sl-hero-scene-vase--tall::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 124%;
    width: 72%;
    height: 42%;
    background:
        radial-gradient(circle at 18% 70%, rgba(168, 186, 161, 0.90) 0%, transparent 18%),
        radial-gradient(circle at 46% 38%, rgba(168, 186, 161, 0.86) 0%, transparent 18%),
        radial-gradient(circle at 76% 18%, rgba(168, 186, 161, 0.82) 0%, transparent 16%);
    transform: translateX(-50%) rotate(-10deg);
}

.sl-hero-scene-branch {
    right: 34%;
    bottom: 40%;
    width: 20%;
    height: 20%;
    background:
        radial-gradient(circle at 14% 82%, rgba(162, 184, 159, 0.92) 0%, transparent 18%),
        radial-gradient(circle at 38% 58%, rgba(162, 184, 159, 0.90) 0%, transparent 18%),
        radial-gradient(circle at 62% 38%, rgba(162, 184, 159, 0.88) 0%, transparent 16%),
        radial-gradient(circle at 82% 18%, rgba(162, 184, 159, 0.82) 0%, transparent 14%);
    opacity: 0.98;
}

.sl-hero-scene-seat {
    right: 7%;
    bottom: 12%;
    width: 56%;
    height: 18%;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(252,251,247,0.98) 0%, rgba(239,236,230,0.98) 100%);
    box-shadow: 0 18px 34px rgba(109, 116, 102, 0.12);
}

.sl-hero-scene-seat::before {
    content: '';
    position: absolute;
    left: 5%;
    right: 5%;
    top: -42%;
    height: 56%;
    border-radius: 24px 24px 18px 18px;
    background: linear-gradient(180deg, rgba(251,250,246,0.98) 0%, rgba(239,236,230,0.96) 100%);
    box-shadow: 0 12px 26px rgba(109, 116, 102, 0.08);
}

.sl-hero-scene-seat::after {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -32%;
    height: 24%;
    border-radius: 999px;
    background: rgba(105, 113, 102, 0.10);
    filter: blur(10px);
}

.sl-hero-scene-cushion {
    bottom: 17%;
    width: 14%;
    height: 12%;
    border-radius: 18px;
    background: linear-gradient(180deg, #ece6db 0%, #dcd5c8 100%);
    box-shadow: 0 8px 18px rgba(111, 114, 105, 0.06);
}

.sl-hero-scene-cushion--back {
    right: 31%;
}

.sl-hero-scene-cushion--front {
    right: 14%;
    width: 18%;
}

.sl-hero-scene-plant {
    left: 10%;
    bottom: 16%;
    width: 18%;
    height: 30%;
    background:
        radial-gradient(circle at 16% 84%, rgba(148, 170, 144, 0.76) 0%, transparent 18%),
        radial-gradient(circle at 38% 58%, rgba(148, 170, 144, 0.72) 0%, transparent 18%),
        radial-gradient(circle at 62% 30%, rgba(148, 170, 144, 0.68) 0%, transparent 18%),
        radial-gradient(circle at 84% 8%, rgba(148, 170, 144, 0.62) 0%, transparent 16%);
    opacity: 0.84;
}

.sl-hero-scene-shadow {
    right: 10%;
    bottom: 2%;
    width: 60%;
    height: 9%;
    border-radius: 50%;
    background: rgba(119, 131, 116, 0.12);
    filter: blur(14px);
}

@media (max-width: 1023px) {
    .sl-hero--decorative {
        padding: 34px 30px 32px;
    }

    .sl-hero--decorative .sl-hero-content {
        max-width: 680px;
    }

    .sl-hero--decorative .sl-hero-brand .custom-logo {
        max-height: 46px;
    }

    .sl-hero-brand-wordmark {
        font-size: clamp(20px, 2.8vw, 26px);
    }

    .sl-hero--decorative .sl-hero-title {
        max-width: 10.8ch;
    }
}

@media (max-width: 767px) {
    .sl-hero--decorative {
        padding: 26px 16px 28px;
        min-height: auto;
    }

    .sl-hero--decorative .sl-hero-content {
        max-width: 100%;
    }

    .sl-hero--decorative .sl-hero-brand {
        margin-bottom: 14px;
    }

    .sl-hero--decorative .sl-hero-brand .custom-logo {
        max-height: 34px;
    }

    .sl-hero--decorative .sl-hero-brand .custom-logo-link,
    .sl-hero--decorative .sl-hero-brand-fallback {
        gap: 12px;
    }

    .sl-hero-brand-mark {
        width: 34px;
        height: 34px;
    }

    .sl-hero-brand-mark::after {
        top: 3px;
        width: 24px;
        height: 24px;
    }

    .sl-hero-brand-wordmark {
        font-size: 18px;
        letter-spacing: 0.08em;
    }

    .sl-hero--decorative .sl-hero-title {
        font-size: clamp(30px, 8.2vw, 40px);
        max-width: 100%;
        margin-bottom: 16px;
    }

    .sl-hero--decorative .sl-hero-sub {
        max-width: 100%;
        margin-bottom: 24px;
    }
}
/* === SUKOONLIVING HERO SOFT SAGE PATCH END === */

/* ==========================================================
   PHASE 4 HERO RESPONSIVE CLEANUP
   ========================================================== */
@media (max-width: 1023px) {
    .sl-hero {
        padding: 64px 48px;
        min-height: 380px;
    }

    .sl-hero--homepage {
        padding: 56px 40px;
        min-height: 340px;
    }
}

@media (max-width: 767px) {
    .sl-hero {
        padding: 44px 24px 52px;
        min-height: auto;
        border-radius: 20px;
        margin: 16px 0 0;
    }

    .sl-hero--homepage {
        padding: 40px 22px 48px;
    }

    .sl-hero-bg-shape,
    .sl-hero::after {
        display: none;
    }

    .sl-hero-title {
        font-size: clamp(36px, 9vw, 44px);
    }

    .sl-hero-sub {
        font-size: 14px;
        max-width: 100%;
        margin-bottom: 32px;
    }

    .sl-hero-actions {
        gap: 10px;
    }
}

/* ==========================================================
   PREMIUM HOMEPAGE PATCH — HERO MOBILE-FIRST REFINEMENT
   ========================================================== */

@media (max-width: 767px) {
    .sl-hero {
        margin-top: 14px;
        border-radius: 22px;
    }

    .sl-hero--homepage,
    .sl-hero--decorative {
        padding: 28px 18px 24px;
        min-height: auto;
    }

    .sl-hero--decorative .sl-hero-brand {
        margin-bottom: 12px;
    }

    .sl-hero--decorative .sl-hero-brand .custom-logo,
    .sl-hero-brand-mark {
        max-height: 42px;
        width: 42px;
        height: 42px;
    }

    .sl-hero-brand-wordmark {
        font-size: 22px;
        letter-spacing: 0.09em;
    }

    .sl-hero-eyebrow {
        margin-bottom: 14px;
        padding: 6px 12px;
        font-size: 9px;
        letter-spacing: 0.14em;
    }

    .sl-hero-title,
    .sl-hero--decorative .sl-hero-title {
        font-size: clamp(32px, 10vw, 46px);
        line-height: 0.98;
        max-width: 10.5ch;
        margin-bottom: 14px;
    }

    .sl-hero-sub,
    .sl-hero--decorative .sl-hero-sub {
        font-size: 15px;
        line-height: 1.75;
        margin-bottom: 20px;
        max-width: 32ch;
    }

    .sl-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .sl-hero-actions .sl-btn {
        width: 100%;
        justify-content: center;
    }

    .sl-home-hero-pills {
        gap: 8px;
        margin-top: 14px;
    }

    .sl-home-hero-pill {
        min-height: 34px;
        padding: 8px 12px;
        font-size: 12px;
    }
}
