/* ========================================
   HumVentures – Ẩm thực thiên nhiên Việt Nam
   Complete CSS Design System
   ======================================== */

/* === CSS Custom Properties === */
:root {
    --bg-cream: #FAF6F1;
    --bg-warm: #F2E9E1;
    --bg-section: #FFF9F4;
    --bg-white: #FFFFFF;
    --bg-dark: #2C2416;
    --bg-card: #FFFFFF;

    --gold: #C4944A;
    --gold-light: #D4A85A;
    --gold-warm: #B8863D;
    --gold-muted: rgba(196, 148, 74, 0.15);
    --green-nature: #5A7A50;
    --green-light: #7A9E6E;
    --green-soft: rgba(90, 122, 80, 0.1);

    --text-dark: #2C2416;
    --text-body: #4A3F35;
    --text-muted: #8A7E72;
    --text-light: #B5A99C;
    --text-white: #FAF6F1;

    --border-warm: rgba(196, 148, 74, 0.2);
    --border-light: rgba(44, 36, 22, 0.08);

    --shadow-soft: 0 4px 20px rgba(44, 36, 22, 0.06);
    --shadow-card: 0 8px 40px rgba(44, 36, 22, 0.08);
    --shadow-hover: 0 16px 50px rgba(196, 148, 74, 0.15);
    --shadow-image: 0 20px 60px rgba(44, 36, 22, 0.12);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;

    --font-serif: 'Cormorant Garamond', 'Georgia', serif;
    --font-sans: 'Quicksand', 'Candara', sans-serif;

    --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & Base === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-cream);
    color: var(--text-body);
    overflow-x: hidden;
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* === Floating Leaves Canvas === */
#leavesCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 3rem;
    background: transparent;
    transition: all var(--transition-smooth);
}

.navbar.scrolled {
    padding: 0.8rem 3rem;
    background: rgba(250, 246, 241, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(44, 36, 22, 0.06);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.nav-logo {
    font-size: 1.5rem;
    animation: gentle-sway 4s ease-in-out infinite;
}

@keyframes gentle-sway {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

.nav-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.navbar.scrolled .nav-title {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 0.3rem;
}

.nav-link {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: 100px;
    transition: all var(--transition-fast);
    position: relative;
}

.navbar:not(.scrolled) .nav-link {
    color: var(--text-white);
}

.nav-link:hover {
    color: var(--gold);
    background: var(--gold-muted);
}

.nav-link.active {
    color: var(--gold);
    background: var(--gold-muted);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all var(--transition-fast);
    border-radius: 2px;
}

.navbar:not(.scrolled) .nav-hamburger span {
    background: var(--text-white);
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(44, 36, 22, 0.3) 0%,
        rgba(44, 36, 22, 0.15) 40%,
        rgba(44, 36, 22, 0.4) 100%
    );
}

.hero-content {
    text-align: center;
    color: var(--text-white);
    padding: 2rem;
    max-width: 800px;
    animation: heroFadeIn 1.2s ease-out;
}

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

.hero-tagline {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    padding: 0.4rem 1.5rem;
    border: 1px solid rgba(212, 168, 90, 0.4);
    border-radius: 100px;
    animation: heroFadeIn 1.2s ease-out 0.2s both;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    animation: heroFadeIn 1.2s ease-out 0.4s both;
}

.hero-title em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
    animation: heroFadeIn 1.2s ease-out 0.6s both;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    color: rgba(250, 246, 241, 0.6);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: heroFadeIn 1.2s ease-out 1s both;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold-light), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 100px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    animation: heroFadeIn 1.2s ease-out 0.8s both;
}

.btn-primary {
    background: var(--gold);
    color: var(--text-white);
    box-shadow: 0 4px 20px rgba(196, 148, 74, 0.3);
}

.btn-primary:hover {
    background: var(--gold-warm);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(196, 148, 74, 0.4);
}

.btn-primary svg {
    transition: transform var(--transition-fast);
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1.5px solid var(--gold);
    padding: 0.7rem 1.6rem;
    font-size: 0.9rem;
    animation: none;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 148, 74, 0.25);
}

/* === Section Styles === */
section {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

/* === About Section === */
.about {
    padding: 6rem 0;
    background: var(--bg-cream);
}

.about-intro {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.leaf-divider {
    margin-bottom: 2rem;
}

.leaf-divider span {
    font-size: 2rem;
    display: inline-block;
    animation: gentle-sway 3s ease-in-out infinite;
}

.about-text {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    line-height: 1.9;
    color: var(--text-body);
    font-weight: 400;
}

/* === Brands Section === */
.brands {
    padding: 6rem 0;
    background: var(--bg-section);
}

.brand-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.brand-row:last-child {
    margin-bottom: 0;
}

.brand-row-reverse {
    direction: rtl;
}

.brand-row-reverse > * {
    direction: ltr;
}

.brand-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-image);
    transition: all var(--transition-smooth);
}

.brand-image:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.brand-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.brand-image:hover img {
    transform: scale(1.05);
}

.brand-image-accent {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
    pointer-events: none;
}

.brand-image:hover .brand-image-accent {
    border-color: var(--gold);
    inset: -8px;
}

.brand-info {
    padding: 1rem 0;
}

.brand-label {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
    display: block;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    line-height: 1.1;
}

.brand-tagline {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.brand-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* === Values Section === */
.values {
    padding: 6rem 0;
    background: var(--bg-cream);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.value-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--green-nature));
    transform: scaleX(0);
    transition: transform var(--transition-smooth);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-warm);
}

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

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
}

.value-title {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.4rem;
}

.value-heading {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.value-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* === Stats Banner === */
.stats-banner {
    padding: 5rem 0;
    background: var(--bg-dark);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.stats-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(196, 148, 74, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(90, 122, 80, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1rem 2rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--gold-light);
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gold-light);
}

.stat-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: rgba(250, 246, 241, 0.6);
    margin-top: 0.5rem;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(250, 246, 241, 0.1);
}

/* === Contact Section === */
.contact {
    padding: 6rem 0;
    background: var(--bg-section);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-desc {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-muted);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.1rem;
}

.contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color var(--transition-fast);
}

.contact-value:hover {
    color: var(--gold);
}

.cta-card {
    background: var(--bg-white);
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    text-align: center;
    transition: all var(--transition-smooth);
}

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

.cta-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.cta-card h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.cta-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* === Footer === */
.footer {
    background: var(--bg-dark);
    padding: 3rem 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    font-size: 1.3rem;
}

.footer-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold-light);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(250, 246, 241, 0.5);
    transition: color var(--transition-fast);
}

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

.footer-divider {
    height: 1px;
    background: rgba(250, 246, 241, 0.08);
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(250, 246, 241, 0.35);
}

.footer-sub-brands {
    display: flex;
    gap: 1.5rem;
}

.footer-sub-brands a {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-style: italic;
    color: rgba(250, 246, 241, 0.4);
    transition: color var(--transition-fast);
}

.footer-sub-brands a:hover {
    color: var(--gold-light);
}

/* === Reveal Animations === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Popup Modal === */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(44, 36, 22, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    width: 90vw;
    max-width: 680px;
    max-height: 88vh;
    background: var(--bg-cream);
    border-radius: var(--radius-xl);
    z-index: 600;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(44, 36, 22, 0.25), 0 0 0 1px var(--border-warm);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

.popup-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* FLIP-enter: popup appears with body sliding up from below */
.popup-modal.flip-enter {
    transform: translate(-50%, -50%) scale(1);
}

.popup-modal.flip-enter .popup-body {
    animation: popupBodySlideUp 0.45s cubic-bezier(0.4, 0, 0.2, 1) both;
}

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

.popup-modal.closing {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.92) translateY(20px);
    transition: all 0.35s cubic-bezier(0.4, 0, 1, 1);
}

body.popup-open {
    overflow: hidden;
}

/* === Flying Image Clone (FLIP) === */
.flying-image {
    position: fixed;
    z-index: 700;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(44, 36, 22, 0.3), 0 0 0 2px rgba(196, 148, 74, 0.2);
    pointer-events: none;
    will-change: transform, left, top, width, height;
}

.flying-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Source image dim when "flying away" */
.source-flying {
    opacity: 0.25 !important;
    transform: scale(0.95) !important;
    transition: all 0.4s ease !important;
    filter: blur(2px);
}

/* === Content Stagger Animation === */
.stagger-item {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-item.stagger-visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Close Button Animation === */
.popup-close.close-animate {
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-close.close-animate.close-visible {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* === Info Popup Hero (gradient background, no image) === */
.info-hero {
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: flex-end;
}

.info-hero .popup-hero-overlay {
    position: relative;
    width: 100%;
    padding: 2rem 2.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

/* Press Items */
.popup-press-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.press-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(212, 154, 90, 0.06);
    border-radius: 10px;
    border-left: 3px solid var(--gold);
    transition: all 0.25s ease;
}

.press-item:hover {
    background: rgba(212, 154, 90, 0.12);
    transform: translateX(4px);
}

.press-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.press-item strong {
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--text-dark);
    line-height: 1.4;
}

/* Popup Close Button */
.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.popup-close:hover {
    background: var(--gold);
    color: white;
    transform: rotate(90deg) scale(1.1);
}

.popup-close svg {
    stroke: var(--text-dark);
    transition: stroke var(--transition-fast);
}

.popup-close:hover svg {
    stroke: white;
}

/* Popup Hero */
.popup-hero {
    position: relative;
    height: 260px;
    flex-shrink: 0;
    overflow: hidden;
}

.popup-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.popup-modal.active .popup-hero img {
    transform: scale(1.03);
}

.popup-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(44, 36, 22, 0.1) 0%, rgba(44, 36, 22, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.popup-brand-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 0.3rem;
}

.popup-brand-name {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.popup-brand-tagline {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gold-light);
}

/* Popup Body */
.popup-body {
    padding: 2rem 2.5rem 2.5rem;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-muted) transparent;
}

.popup-body::-webkit-scrollbar {
    width: 6px;
}

.popup-body::-webkit-scrollbar-track {
    background: transparent;
}

.popup-body::-webkit-scrollbar-thumb {
    background: var(--gold-muted);
    border-radius: 3px;
}

.popup-section {
    margin-bottom: 2rem;
}

.popup-section h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
}

.popup-section p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.popup-section p:last-child {
    margin-bottom: 0;
}

.popup-section p em {
    color: var(--gold);
    font-style: italic;
}

/* Award Badges */
.popup-awards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.award-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg, rgba(196, 148, 74, 0.08), rgba(196, 148, 74, 0.03));
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.award-badge:hover {
    transform: translateX(4px);
    border-color: var(--gold);
}

.award-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.award-badge strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.award-badge span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Space Items */
.popup-spaces {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.space-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

.space-item:hover {
    border-color: var(--border-warm);
    box-shadow: var(--shadow-soft);
    transform: translateX(4px);
}

.space-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 0.1rem;
}

.space-item strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.space-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Highlight Items (same layout as space items) */
.popup-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

.highlight-item:hover {
    border-color: var(--border-warm);
    box-shadow: var(--shadow-soft);
    transform: translateX(4px);
}

.highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight-item strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.highlight-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Location Items */
.popup-locations {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.location-item span {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.location-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.15rem;
}

.location-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

/* Category Chips */
.popup-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.category-chip {
    padding: 0.5rem 1rem;
    background: var(--bg-white);
    border: 1px solid var(--border-warm);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-body);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.category-chip:hover {
    background: var(--gold-muted);
    border-color: var(--gold);
    color: var(--gold-warm);
    transform: translateY(-2px);
}

/* Popup Footer Actions */
.popup-footer-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.popup-footer-actions .btn {
    animation: none;
    flex: 1;
    justify-content: center;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .brand-row {
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .navbar.scrolled {
        padding: 0.7rem 1.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(250, 246, 241, 0.98);
        backdrop-filter: blur(20px);
        padding: 1rem;
        box-shadow: var(--shadow-soft);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links .nav-link {
        color: var(--text-dark) !important;
        padding: 0.8rem 1.2rem;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-tagline {
        font-size: 0.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .brand-row,
    .brand-row-reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
    }

    .brand-image img {
        height: 280px;
    }

    .brand-name {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-text {
        font-size: 1.15rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats-row {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-divider {
        display: none;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links,
    .footer-sub-brands {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 0.8rem 1rem;
    }

    .popup-modal {
        width: 100vw;
        max-height: 100vh;
        border-radius: var(--radius-lg);
    }

    .popup-hero {
        height: 200px;
    }

    .popup-brand-name {
        font-size: 2rem;
    }

    .popup-body {
        padding: 1.5rem;
    }

    .popup-footer-actions {
        flex-direction: column;
    }

    .popup-categories {
        gap: 0.4rem;
    }

    .category-chip {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

