/* ================================================================
   HABA CULTURE — Premium Aceh Tourism & Culture
   Bootstrap 5 + Custom CSS | Maroon · Gold · Cream
   ================================================================ */

:root {
    --maroon: #6B1E2D;
    --dark-maroon: #3B0D18;
    --gold: #D4AF37;
    --light-gold: #E6C766;
    --cream: #EDE4D3;
    --cream-dark: #E0D4BC;
    --white: #FFFFFF;
    --dark: #171717;
    --text-muted: #6B6B6B;
    --shadow-sm: 0 2px 20px rgba(59, 13, 24, 0.06);
    --shadow-md: 0 10px 40px rgba(59, 13, 24, 0.10);
    --shadow-lg: 0 20px 60px rgba(59, 13, 24, 0.15);
    --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.28);
    --radius: 1rem;
    --radius-lg: 1.25rem;
    --section-py: clamp(4.5rem, 8vw, 7rem);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', system-ui, sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

::selection {
    background: rgba(212, 175, 55, 0.35);
    color: var(--dark-maroon);
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--dark);
    background: #FAF6EF;
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-maroon);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s var(--ease);
}

img { max-width: 100%; height: auto; display: block; }

/* ── Container ── */
.container,
.container-xl {
    max-width: 1200px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* ── Utilities ── */
.text-gold { color: var(--gold) !important; }
.text-cream { color: var(--cream) !important; }
.bg-cream { background-color: var(--cream) !important; }
.bg-maroon { background-color: var(--maroon) !important; }
.bg-dark-maroon { background-color: var(--dark-maroon) !important; }

/* ── Brand Logo ── */
.brand-logo {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-haba {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--maroon);
    letter-spacing: 4px;
}

.brand-culture {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 6px;
    text-transform: uppercase;
}

.brand-logo--navbar .brand-haba { font-size: 1.2rem; }
.brand-logo--navbar .brand-culture { font-size: 0.58rem; margin-top: 3px; }
.brand-logo--footer .brand-haba { font-size: 1.55rem; color: var(--gold); }
.brand-logo--footer .brand-culture { font-size: 0.68rem; color: rgba(255,255,255,.7); margin-top: 4px; }
.brand-logo--hero .brand-haba { font-size: 1.4rem; color: var(--gold); letter-spacing: 6px; }
.brand-logo--hero .brand-culture { font-size: 0.62rem; color: rgba(255,255,255,.88); letter-spacing: 8px; margin-top: 4px; }
.brand-logo--admin .brand-haba { font-size: 1rem; color: var(--gold); }
.brand-logo--admin .brand-culture { font-size: 0.5rem; color: rgba(255,255,255,.7); margin-top: 2px; }

/* ── Navbar ── */
.navbar-haba {
    background: #FDFAF5 !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    min-height: 76px;
    padding: 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 2px 16px rgba(59, 13, 24, 0.06);
    transition: all 0.35s var(--ease);
}

.navbar-haba::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--maroon), var(--gold), var(--maroon));
}

.navbar-haba .container-xl {
    min-height: 76px;
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand-haba { padding: 0.25rem 0; }

.navbar-haba .nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    padding: 0.5rem 1.1rem !important;
    position: relative;
    transition: color 0.25s var(--ease);
}

.navbar-haba .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--light-gold));
    border-radius: 2px;
    transition: width 0.3s var(--ease);
    transform: translateX(-50%);
}

.navbar-haba .nav-link:hover,
.navbar-haba .nav-link.active {
    color: var(--maroon) !important;
}

.navbar-haba .nav-link.active {
    color: var(--gold) !important;
    font-weight: 600;
}

.navbar-haba .nav-link:hover::after,
.navbar-haba .nav-link.active::after { width: 60%; }

.navbar-haba .navbar-toggler {
    border: 1px solid rgba(107, 30, 45, 0.12);
    padding: 0.45rem 0.7rem;
    border-radius: 8px;
}

.navbar-haba .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.navbar-haba.scrolled {
    box-shadow: var(--shadow-sm) !important;
    border-bottom-color: rgba(212, 175, 55, 0.15);
}

/* ── Buttons ── */
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 100%);
    color: var(--dark-maroon);
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.925rem;
    letter-spacing: 0.02em;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    transition: all 0.35s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--light-gold) 0%, #F0D878 100%);
    color: var(--dark-maroon);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-gold.btn-sm {
    padding: 0.65rem 1.4rem;
    font-size: 0.85rem;
}

.btn-outline-light-custom {
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.925rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    transition: all 0.35s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    backdrop-filter: blur(4px);
}

.btn-outline-light-custom:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.btn-maroon {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--dark-maroon) 100%);
    color: var(--white);
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    padding: 0.8rem 1.85rem;
    border-radius: 50px;
    transition: all 0.35s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(59, 13, 24, 0.2);
}

.btn-maroon:hover {
    background: linear-gradient(135deg, var(--dark-maroon) 0%, #2A0912 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline-maroon {
    background: transparent;
    color: var(--maroon);
    border: 1.5px solid var(--maroon);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    transition: all 0.35s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.btn-outline-maroon:hover {
    background: var(--maroon);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(107, 30, 45, 0.25);
}

/* ── Section System ── */
.section-haba {
    padding: var(--section-py) 0;
    position: relative;
}

.section-haba.bg-cream {
    background:
        radial-gradient(ellipse at 0% 0%, rgba(212, 175, 55, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse at 100% 100%, rgba(107, 30, 45, 0.08) 0%, transparent 55%),
        var(--cream) !important;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.section-haba.bg-white {
    background: #FDFCF9 !important;
}

.section-haba.bg-dark-maroon {
    background:
        radial-gradient(ellipse at 80% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 45%),
        var(--dark-maroon);
}

.section-header { margin-bottom: 2.75rem; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.68rem;
    letter-spacing: 4.5px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.section-label-light { color: var(--light-gold); }
.section-label-light::before { background: var(--light-gold); }

.section-title {
    font-size: clamp(1.9rem, 4.2vw, 2.85rem);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.02rem;
    max-width: 540px;
    line-height: 1.8;
    margin-bottom: 0;
}

.section-subtitle-light { color: rgba(255, 255, 255, 0.75); }

.gold-line {
    width: 52px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--light-gold));
    border-radius: 3px;
    margin: 1rem 0;
}

.gold-line-center { margin-left: auto; margin-right: auto; }

/* ── Homepage Hero ── */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark-maroon);
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg,
            rgba(59, 13, 24, 0.96) 0%,
            rgba(59, 13, 24, 0.82) 40%,
            rgba(107, 30, 45, 0.55) 100%),
        url('../images/hero-aceh.svg') center/cover no-repeat;
    z-index: 0;
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/hero-pattern.svg') repeat;
    opacity: 0.04;
}

.hero__deco {
    position: absolute;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: heroFloat 8s ease-in-out infinite;
}

.hero__deco--1 {
    width: 420px;
    height: 420px;
    top: -110px;
    right: -70px;
    animation-delay: 0s;
}

.hero__deco--2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: 3%;
    animation-delay: -4s;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 7.5rem 0 5.5rem;
    width: 100%;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 50px;
    background: rgba(212, 175, 55, 0.08);
    margin-bottom: 1.75rem;
    backdrop-filter: blur(8px);
}

.hero__title {
    font-size: clamp(2.5rem, 5.8vw, 4.2rem);
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 1.35rem;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.hero__title span {
    color: var(--gold);
    font-style: italic;
}

.hero__text {
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(0.95rem, 1.8vw, 1.08rem);
    max-width: 470px;
    margin-bottom: 2.25rem;
    line-height: 1.85;
    font-weight: 300;
}

.hero__visual { position: relative; z-index: 2; }

.hero__image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.4);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(212, 175, 55, 0.1);
    max-height: 500px;
    transform: perspective(800px) rotateY(-3deg);
    transition: transform 0.5s var(--ease);
}

.hero__image-card:hover {
    transform: perspective(800px) rotateY(0deg);
}

.hero__image-card img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
}

.hero__carousel {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.hero__carousel .carousel-inner,
.hero__carousel .carousel-item {
    height: 100%;
    min-height: 400px;
}

.hero__carousel .carousel-item img {
    display: block;
}

.hero__carousel-indicators {
    margin-bottom: 0.75rem;
    gap: 0.35rem;
}

.hero__carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.6);
    background: rgba(255, 255, 255, 0.35);
    opacity: 1;
    transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.hero__carousel-indicators .active {
    background: var(--gold);
    transform: scale(1.15);
}

.hero__carousel-control {
    width: 12%;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.hero__image-card:hover .hero__carousel-control {
    opacity: 1;
}

.hero__carousel-control .carousel-control-prev-icon,
.hero__carousel-control .carousel-control-next-icon {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.hero__carousel .hero__image-accent {
    z-index: 2;
}

.hero__image-frame {
    position: absolute;
    inset: -10px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: calc(var(--radius-lg) + 6px);
    pointer-events: none;
}

.hero__image-accent {
    position: absolute;
    bottom: 1.35rem;
    left: 1.35rem;
    right: 1.35rem;
    padding: 1rem 1.2rem;
    background: rgba(59, 13, 24, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    border-left: 3px solid var(--gold);
}

.hero__image-accent p {
    margin: 0;
    color: var(--cream);
    font-size: 0.85rem;
    line-height: 1.5;
}

.hero__image-accent strong { color: var(--gold); }

/* ── Page Hero ── */
.page-hero {
    position: relative;
    background: var(--dark-maroon) !important;
    min-height: 360px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 7rem 0 4.5rem;
    border-bottom: 4px solid var(--gold);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(59,13,24,0.95) 0%, rgba(107,30,45,0.7) 100%),
        url('../images/hero-aceh.svg') center/cover no-repeat;
    opacity: 1;
    z-index: 0;
}

.page-hero::after {
    display: none;
}

.page-hero__ring {
    position: absolute;
    top: 50%;
    right: 8%;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

.page-hero__ring::before {
    content: '';
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 50%;
}

.page-hero .container-xl { position: relative; z-index: 3; }

.page-hero__gold-accent {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--light-gold));
    margin-bottom: 1.35rem;
    border-radius: 3px;
}

.page-hero__label {
    font-family: var(--font-body);
    font-size: 0.68rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.9rem;
    display: block;
    font-weight: 600;
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(2.1rem, 4.8vw, 3.4rem);
    margin-bottom: 0.9rem;
    text-shadow: 0 2px 30px rgba(0,0,0,0.2);
}

.page-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0;
    line-height: 1.8;
    font-weight: 300;
}

.page-hero__breadcrumb {
    margin-top: 1.35rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

.page-hero__breadcrumb a { color: var(--gold); }
.page-hero__breadcrumb a:hover { color: var(--light-gold); }

/* ── Stats ── */
.stat-card {
    background: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s var(--ease);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--light-gold));
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 175, 55, 0.25);
}

.stat-card__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
    border-radius: 50%;
    color: var(--maroon);
    font-size: 1.3rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.stat-card__number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--maroon);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-card__label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* ── Premium Cards ── */
.card-premium {
    border: 1px solid rgba(212, 175, 55, 0.1) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
    height: 100%;
}

.card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.28) !important;
}

.card-premium__img {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--dark-maroon);
}

.card-premium__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(59,13,24,0.15) 0%, transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}

.card-premium:hover .card-premium__img::after { opacity: 1; }

.card-premium__img > img,
.card-premium__img > .card-img-placeholder {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.55s var(--ease);
}

.card-premium:hover .card-premium__img > img {
    transform: scale(1.06);
}

.card-premium__body {
    padding: 1.4rem 1.5rem 1.6rem;
    position: relative;
}

.card-premium__body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.5rem;
    width: 40px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
}

.card-premium:hover .card-premium__body::before {
    transform: scaleX(1);
}

.card-badge {
    display: inline-block;
    font-size: 0.6rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.7rem;
}

.card-badge--culture {
    background: rgba(107, 30, 45, 0.09);
    color: var(--maroon);
    border: 1px solid rgba(107, 30, 45, 0.12);
}

.card-badge--wisata {
    background: rgba(212, 175, 55, 0.12);
    color: #9A7B1A;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.card-badge--kuliner {
    background: rgba(107, 30, 45, 0.09);
    color: var(--maroon);
    border: 1px solid rgba(107, 30, 45, 0.12);
}

.card-premium__title {
    font-family: var(--font-heading);
    font-size: 1.22rem;
    margin-bottom: 0.45rem;
    color: var(--dark-maroon);
    transition: color 0.25s var(--ease);
}

.card-premium:hover .card-premium__title { color: var(--maroon); }

.card-premium__location {
    font-size: 0.78rem;
    color: var(--gold);
    margin-bottom: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.card-premium__location i { margin-right: 0.25rem; font-size: 0.72rem; }

.card-premium__text {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
}

.card-premium__line {
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--light-gold));
    margin-top: 0.9rem;
    transition: width 0.35s var(--ease);
    border-radius: 2px;
}

.card-premium:hover .card-premium__line { width: 56px; }

a.card-premium--link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.card-premium--link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.card-premium__hint {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.65rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--maroon);
    opacity: 0.75;
    transition: opacity 0.25s var(--ease);
}

a.card-premium--link:hover .card-premium__hint {
    opacity: 1;
}

.page-hero--compact {
    min-height: 280px;
    padding-bottom: 2.5rem;
}

/* ── Culture Detail Page ── */
.culture-detail__hero {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.35);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.culture-detail__image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.culture-detail__content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 2.25rem;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: var(--shadow-sm);
}

.culture-detail__lead {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--maroon);
    font-weight: 500;
    margin: 1rem 0 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.culture-detail__prose {
    color: #444;
    font-size: 1rem;
    line-height: 1.95;
}

.culture-detail__prose p {
    margin-bottom: 1.15rem;
}

.culture-detail__prose p:last-child {
    margin-bottom: 0;
}

.culture-detail__actions {
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

@media (max-width: 767px) {
    .culture-detail__content {
        padding: 1.35rem 1.25rem;
    }
}

/* ── Image Placeholder ── */
.card-img-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 40%, rgba(107, 30, 45, 0.5) 0%, transparent 60%),
        linear-gradient(160deg, #2A0912 0%, var(--dark-maroon) 50%, #4A1220 100%);
    overflow: hidden;
}

.card-img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/hero-pattern.svg') repeat;
    opacity: 0.06;
}

.card-img-placeholder__deco {
    position: absolute;
    width: 90px;
    height: 90px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 50%;
}

.card-img-placeholder__deco::after {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(212, 175, 55, 0.35);
    font-size: 1.2rem;
}

.card-img-placeholder__haba {
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 5px;
}

.card-img-placeholder__culture {
    position: relative;
    z-index: 1;
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 7px;
    text-transform: uppercase;
    margin-top: 5px;
}

/* ── Cinematic Cards ── */
.card-cinematic {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 280px;
    box-shadow: var(--shadow-md);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.card-cinematic:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.25);
}

.card-cinematic__img-wrap {
    position: absolute;
    inset: 0;
    height: 280px;
}

.card-cinematic__img-wrap > img,
.card-cinematic__img-wrap > .card-img-placeholder {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.55s var(--ease);
}

.card-cinematic:hover .card-cinematic__img-wrap > img {
    transform: scale(1.07);
}

.card-cinematic__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(59, 13, 24, 0.92) 0%,
        rgba(59, 13, 24, 0.4) 45%,
        rgba(59, 13, 24, 0.05) 100%
    );
    z-index: 1;
    transition: background 0.35s var(--ease);
}

.card-cinematic:hover .card-cinematic__overlay {
    background: linear-gradient(
        to top,
        rgba(59, 13, 24, 0.95) 0%,
        rgba(59, 13, 24, 0.5) 50%,
        rgba(59, 13, 24, 0.1) 100%
    );
}

.card-cinematic__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.4rem 1.5rem;
    z-index: 2;
}

.card-cinematic__content::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 0.65rem;
    transition: width 0.35s var(--ease);
}

.card-cinematic:hover .card-cinematic__content::before { width: 52px; }

.card-cinematic__title {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.18rem;
    margin-bottom: 0.35rem;
}

.card-cinematic__location {
    color: var(--gold);
    font-size: 0.78rem;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.card-cinematic__location i { margin-right: 0.3rem; font-size: 0.72rem; }

/* ── About Block ── */
.about-block__visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-block__visual img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.about-block__frame {
    position: absolute;
    inset: -10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: calc(var(--radius-lg) + 6px);
    pointer-events: none;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1.1rem 1.15rem;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.12);
    height: 100%;
    transition: all 0.3s var(--ease);
    box-shadow: var(--shadow-sm);
}

.about-feature:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.about-feature i {
    color: var(--gold);
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-feature strong {
    color: var(--dark-maroon);
    font-size: 0.9rem;
}

.about-feature small {
    color: var(--text-muted);
    font-size: 0.78rem;
}

/* ── Editorial Cards ── */
.editorial-card {
    border: none;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    background: var(--white);
    border-top: 4px solid var(--gold);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.editorial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.editorial-card--dark {
    background: linear-gradient(145deg, var(--dark-maroon) 0%, #2A0912 100%);
    color: var(--white);
    border-top-color: var(--gold);
}

.editorial-card--dark h3 { color: var(--gold); }
.editorial-card--dark p,
.editorial-card--dark li { color: rgba(255, 255, 255, 0.82); }

.editorial-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.9rem;
}

.editorial-card p { color: var(--text-muted); margin-bottom: 0; }

.value-card {
    text-align: center;
    padding: 2rem 1.25rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.15);
    height: 100%;
    transition: all 0.35s var(--ease);
}

.value-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-4px);
}

/* ── CTA Block ── */
.cta-block {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--dark-maroon) 60%, #2A0912 100%);
    padding: var(--section-py) 0;
    position: relative;
    overflow: hidden;
}

.cta-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/hero-aceh.svg') center/cover;
    opacity: 0.07;
}

.cta-block::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.cta-block .container-xl { position: relative; z-index: 1; }

.cta-block h2 {
    color: var(--white);
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    margin-bottom: 0.9rem;
}

.cta-block p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 460px;
    margin: 0 auto 2rem;
    font-size: 1.02rem;
    font-weight: 300;
    line-height: 1.75;
}

/* ── Footer ── */
.footer-haba {
    background: linear-gradient(180deg, var(--dark-maroon) 0%, #2A0912 100%);
    color: rgba(255, 255, 255, 0.7);
}

.footer-gold-line {
    height: 2px;
    background: linear-gradient(90deg, transparent 5%, var(--gold) 50%, transparent 95%);
}

.footer-brand { margin-bottom: 0.6rem; }

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-style: italic;
    font-family: var(--font-heading);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 1.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.25s var(--ease);
    letter-spacing: 0.02em;
}

.footer-links a:hover { color: var(--gold); }

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 50%;
    color: var(--gold);
    transition: all 0.3s var(--ease);
    font-size: 0.95rem;
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--dark-maroon);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: 1.2rem 0;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.03em;
}

/* ── Pagination ── */
.pagination-haba .page-link {
    color: var(--maroon);
    border-color: rgba(212, 175, 55, 0.2);
    border-radius: 10px !important;
    margin: 0 4px;
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 38px;
    text-align: center;
    transition: all 0.25s var(--ease);
}

.pagination-haba .page-item.active .page-link {
    background: linear-gradient(135deg, var(--maroon), var(--dark-maroon));
    border-color: var(--maroon);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(59, 13, 24, 0.2);
}

.pagination-haba .page-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark-maroon);
}

.pagination-haba .page-item.disabled .page-link { opacity: 0.4; }

.bg-dark-maroon .pagination-haba .page-link {
    background: rgba(255, 255, 255, 0.06);
    color: var(--cream);
    border-color: rgba(212, 175, 55, 0.2);
}

.bg-dark-maroon .pagination-haba .page-item.active .page-link {
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    color: var(--dark-maroon);
    border-color: var(--gold);
}

.bg-dark-maroon .pagination-haba .page-link:hover {
    background: var(--gold);
    color: var(--dark-maroon);
}

/* ── Regency Filter ── */
.regency-filter {
    background: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.regency-filter--dark {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.22);
    box-shadow: none;
}

.regency-filter__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.regency-filter__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--maroon);
}

.regency-filter--dark .regency-filter__label {
    color: var(--gold);
}

.regency-filter__hint {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.regency-filter--dark .regency-filter__hint {
    color: rgba(255, 255, 255, 0.65);
}

.regency-filter__field-label {
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 0.45rem;
}

.regency-filter--dark .regency-filter__field-label {
    color: rgba(255, 255, 255, 0.85);
}

.regency-filter__search-wrap {
    position: relative;
}

.regency-filter__search-wrap .bi-search {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    pointer-events: none;
}

.regency-filter__search {
    padding-left: 2.5rem;
    border-radius: 10px;
    border-color: rgba(212, 175, 55, 0.25);
}

.regency-filter__select {
    border-radius: 10px;
    border-color: rgba(212, 175, 55, 0.25);
}

.regency-filter--dark .regency-filter__search,
.regency-filter--dark .regency-filter__select {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.25);
    color: var(--white);
}

.regency-filter--dark .regency-filter__search::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.regency-filter__submit {
    min-height: 46px;
}

.regency-filter__reset {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: var(--gold);
    text-decoration: none;
    white-space: nowrap;
}

.regency-filter__reset:hover {
    color: var(--light-gold);
}

.regency-filter__active {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.12);
    border-left: 3px solid var(--gold);
    color: var(--dark-maroon);
    font-size: 0.9rem;
}

.regency-filter--dark .regency-filter__active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--cream);
}

.regency-filter__active--muted {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: rgba(212, 175, 55, 0.45);
}

.regency-filter-results {
    margin: -1rem 0 2rem;
}

.regency-filter-results__title {
    color: var(--cream);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.bg-cream .regency-filter-results__title {
    color: var(--text-muted);
}

.regency-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 50px;
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.28);
    color: var(--cream);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.25s var(--ease);
}

.bg-cream .regency-filter-chip {
    color: var(--dark-maroon);
}

.regency-filter-chip:hover {
    background: var(--gold);
    color: var(--dark-maroon);
    border-color: var(--gold);
}

/* ── Empty State ── */
.empty-state {
    text-align: center;
    padding: 4rem 1.5rem;
    background: rgba(255,255,255,0.5);
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(212, 175, 55, 0.25);
}

.empty-state i {
    font-size: 2.5rem;
    color: var(--gold);
    opacity: 0.45;
    margin-bottom: 1rem;
    display: block;
}

.empty-state p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

.bg-dark-maroon .empty-state {
    background: rgba(255,255,255,0.03);
    border-color: rgba(212, 175, 55, 0.15);
}

.bg-dark-maroon .empty-state p { color: var(--cream); }

/* ── Animations ── */
.fade-up {
    opacity: 1;
    transform: translateY(0);
}

.js-anim .fade-up:not(.visible) {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children in rows */
.row.g-4 > [class*="col-"]:nth-child(1) .fade-up { transition-delay: 0.05s; }
.row.g-4 > [class*="col-"]:nth-child(2) .fade-up { transition-delay: 0.12s; }
.row.g-4 > [class*="col-"]:nth-child(3) .fade-up { transition-delay: 0.19s; }
.row.g-4 > [class*="col-"]:nth-child(4) .fade-up { transition-delay: 0.05s; }
.row.g-4 > [class*="col-"]:nth-child(5) .fade-up { transition-delay: 0.12s; }
.row.g-4 > [class*="col-"]:nth-child(6) .fade-up { transition-delay: 0.19s; }

/* ── Admin (preserve) ── */
.admin-body { background: #f0ebe3; min-height: 100vh; }
.admin-sidebar { background: var(--dark-maroon); min-height: 100vh; width: 260px; position: fixed; top: 0; left: 0; z-index: 100; transition: transform 0.35s ease; }
.admin-sidebar-brand { padding: 1.5rem; border-bottom: 1px solid rgba(212,175,55,0.15); text-align: center; }
.admin-sidebar-brand a { display: inline-block; text-decoration: none; }
.admin-sidebar-nav { padding: 1rem 0; list-style: none; margin: 0; }
.admin-sidebar-nav li a { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1.5rem; color: rgba(255,255,255,0.75); font-size: 0.92rem; transition: all 0.3s; border-left: 3px solid transparent; }
.admin-sidebar-nav li a:hover, .admin-sidebar-nav li a.active { background: rgba(212,175,55,0.1); color: var(--gold); border-left-color: var(--gold); }
.admin-sidebar-nav li a i { width: 20px; text-align: center; }
.admin-main { margin-left: 260px; padding: 2rem; min-height: 100vh; }
.admin-topbar { background: var(--white); padding: 1rem 1.5rem; border-radius: 12px; box-shadow: var(--shadow-sm); margin-bottom: 2rem; display: flex; justify-content: space-between; align-items: center; }
.admin-stat-card { background: var(--white); border-radius: 12px; padding: 1.75rem; box-shadow: var(--shadow-sm); border-left: 4px solid var(--gold); transition: all 0.3s; }
.admin-stat-card:hover { transform: translateY(-3px); }
.admin-stat-card h3 { font-size: 2rem; color: var(--maroon); margin-bottom: 0.25rem; }
.admin-stat-card p { color: var(--text-muted); margin: 0; font-size: 0.9rem; }
.admin-card { background: var(--white); border-radius: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.admin-card-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid rgba(212,175,55,0.15); display: flex; justify-content: space-between; align-items: center; }
.admin-card-header h5 { margin: 0; color: var(--dark-maroon); }
.admin-card-body { padding: 1.5rem; }
.admin-table { width: 100%; margin: 0; }
.admin-table th { background: var(--cream); color: var(--dark-maroon); font-weight: 600; font-size: 0.85rem; padding: 0.85rem 1rem; border-bottom: 2px solid rgba(212,175,55,0.2); }
.admin-table td { padding: 0.85rem 1rem; vertical-align: middle; font-size: 0.9rem; border-bottom: 1px solid rgba(0,0,0,0.04); }
.admin-table-img { width: 50px; height: 50px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(212,175,55,0.2); }
.admin-form label { font-weight: 600; font-size: 0.85rem; color: var(--dark-maroon); margin-bottom: 0.4rem; }
.admin-form .form-control, .admin-form .form-select { border: 1px solid rgba(212,175,55,0.3); border-radius: 8px; padding: 0.65rem 0.85rem; }
.admin-form .form-control:focus, .admin-form .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,0.15); }
.btn-admin { padding: 0.6rem 1.25rem; border-radius: 8px; font-weight: 600; font-size: 0.85rem; border: none; cursor: pointer; transition: all 0.3s; }
.btn-admin-primary { background: var(--maroon); color: var(--white); }
.btn-admin-primary:hover { background: var(--gold); color: var(--dark-maroon); }
.btn-admin-danger { background: #c0392b; color: var(--white); }
.btn-admin-danger:hover { background: #962d22; }
.btn-admin-sm { padding: 0.35rem 0.75rem; font-size: 0.8rem; }
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--dark-maroon); padding: 2rem; }
.login-card { background: var(--white); border-radius: 24px; padding: 2.5rem; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); }
.login-logo { text-align: center; margin-bottom: 2rem; }
.login-logo h1 { margin: 0; padding: 0; }
.login-logo p { color: var(--text-muted); font-size: 0.85rem; margin: 0.5rem 0 0; }
.alert-haba { border-radius: 8px; padding: 0.85rem 1rem; font-size: 0.9rem; margin-bottom: 1rem; }
.alert-haba-success { background: var(--cream); color: var(--dark-maroon); border: 1px solid rgba(212,175,55,0.4); }
.alert-haba-danger { background: #fdecea; color: #7b241c; border: 1px solid #f5c6cb; }
.badge-published { background: var(--cream); color: var(--maroon); padding: 0.25rem 0.6rem; border-radius: 50px; font-size: 0.75rem; font-weight: 600; border: 1px solid rgba(212,175,55,0.3); }
.badge-draft { background: #fff8e7; color: #856404; padding: 0.25rem 0.6rem; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.admin-toggle { display: none; background: var(--maroon); color: var(--white); border: none; padding: 0.5rem 0.75rem; border-radius: 8px; cursor: pointer; }

/* ── AI Chat Assistant ── */
.haba-ai-chat {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1080;
    font-family: var(--font-body, 'Poppins', sans-serif);
}

.haba-ai-chat__fab {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1.15rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--maroon), var(--dark-maroon));
    color: var(--white);
    box-shadow: 0 8px 28px rgba(59, 13, 24, 0.35), 0 0 0 1px rgba(212, 175, 55, 0.25);
    cursor: pointer;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.haba-ai-chat__fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(59, 13, 24, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.4);
}

.haba-ai-chat__fab-icon {
    font-size: 1.15rem;
    color: var(--gold);
}

.haba-ai-chat__fab-icon--close {
    display: none;
}

.haba-ai-chat--open .haba-ai-chat__fab-icon--open {
    display: none;
}

.haba-ai-chat--open .haba-ai-chat__fab-icon--close {
    display: inline;
}

.haba-ai-chat__fab-label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.haba-ai-chat__panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.85rem);
    width: min(380px, calc(100vw - 2rem));
    max-height: min(560px, calc(100vh - 6rem));
    display: flex;
    flex-direction: column;
    background: var(--cream);
    border-radius: 18px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 20px 50px rgba(59, 13, 24, 0.22);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transform-origin: bottom right;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}

.haba-ai-chat--open .haba-ai-chat__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.haba-ai-chat__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem 1rem 1.15rem;
    background: linear-gradient(135deg, var(--dark-maroon), var(--maroon));
    color: var(--white);
}

.haba-ai-chat__header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.haba-ai-chat__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--gold);
    flex-shrink: 0;
}

.haba-ai-chat__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    line-height: 1.2;
}

.haba-ai-chat__subtitle {
    margin: 0.15rem 0 0;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.75);
}

.haba-ai-chat__close {
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: var(--cream);
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.haba-ai-chat__close:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold);
}

.haba-ai-chat__messages {
    flex: 1 1 auto;
    min-height: 220px;
    max-height: 340px;
    overflow-y: auto;
    padding: 1rem;
    background: linear-gradient(180deg, #FAF6EF 0%, var(--cream) 100%);
}

.haba-ai-chat__msg {
    display: flex;
    margin-bottom: 0.75rem;
}

.haba-ai-chat__msg--user {
    justify-content: flex-end;
}

.haba-ai-chat__msg--bot {
    justify-content: flex-start;
}

.haba-ai-chat__bubble {
    max-width: 88%;
    padding: 0.65rem 0.85rem;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
}

.haba-ai-chat__msg--user .haba-ai-chat__bubble {
    background: linear-gradient(135deg, var(--maroon), var(--dark-maroon));
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.haba-ai-chat__msg--bot .haba-ai-chat__bubble {
    background: var(--white);
    color: #333;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom-left-radius: 4px;
}

.haba-ai-chat__loading {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0 1rem 0.65rem;
    color: var(--maroon);
    font-size: 0.78rem;
}

.haba-ai-chat__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    animation: habaAiDot 1.2s infinite ease-in-out;
}

.haba-ai-chat__dot:nth-child(2) { animation-delay: 0.15s; }
.haba-ai-chat__dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes habaAiDot {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.45; }
    40% { transform: scale(1); opacity: 1; }
}

.haba-ai-chat__form {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    padding: 0.75rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    background: var(--white);
}

.haba-ai-chat__input {
    flex: 1;
    resize: none;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 12px;
    padding: 0.65rem 0.8rem;
    font-size: 0.88rem;
    line-height: 1.45;
    max-height: 120px;
    background: #FAF6EF;
}

.haba-ai-chat__input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.haba-ai-chat__send {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold), var(--light-gold, #e8c547));
    color: var(--dark-maroon);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.haba-ai-chat__send:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .haba-ai-chat {
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .haba-ai-chat__fab-label {
        display: none;
    }

    .haba-ai-chat__fab {
        width: 52px;
        height: 52px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .haba-ai-chat__panel {
        width: calc(100vw - 1.5rem);
    }
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.show { transform: translateX(0); }
    .admin-main { margin-left: 0; }
    .admin-toggle { display: inline-block; }
    .footer-social { justify-content: center; }
    .hero__visual { margin-top: 2.5rem; }
    .hero__image-card { transform: none; }
    .page-hero { min-height: 300px; padding: 5rem 0 3.5rem; }
    .page-hero__ring { display: none; }
}

@media (max-width: 768px) {
    .footer-links { flex-direction: column; align-items: center; gap: 0.65rem; }
    .hero__content { padding: 6.5rem 0 4.5rem; }
    .hero { min-height: auto; }
    .section-label::before { width: 16px; }
}
