@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,800;1,600&display=swap');
/* ============================================
   HOME PAGE v5 — Final Polish
   ============================================ */
:root {
    --forest: #0a2e1a; --emerald: #059669; --gold: #f1c40f;
    --cream: #f9f6ef; --fog: #e8f0e9; --ink: #0f1c10;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── TICKER ── */
.hm-ticker {
    background: linear-gradient(90deg, var(--forest) 0%, #0d3920 100%);
    padding: 9px 0; overflow: hidden; border-bottom: 3px solid var(--gold);
}
.hm-ticker-track {
    display: flex; gap: 48px; animation: hmMarq 32s linear infinite;
    white-space: nowrap; width: max-content;
}
.hm-ticker-track:hover { animation-play-state: paused; }
.hm-ticker-item {
    color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 600;
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.hm-ticker-item:hover { color: var(--gold); }
.hm-ticker-item i { color: var(--gold); font-size: 8px; }
@keyframes hmMarq { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── HERO ── */
.hm-hero {
    background: url('/static/images/home%20hero.jpg') center/cover no-repeat;
    position: relative; overflow: hidden;
    padding: 60px 5% 50px; text-align: center;
    display: flex; align-items: flex-start; justify-content: center;
    min-height: calc(100vh - 195px);
}
.hm-hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 100%; height: 15%;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 100%);
    pointer-events: none; z-index: 1;
}
.hm-hero-text { 
    position: relative; z-index: 2; max-width: 780px; margin: 0 auto;
    margin-top: 0;
}
.hm-luxury-title {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hm-lux-welcome {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 6vw, 84px);
    font-weight: 800;
    font-style: italic;
    color: #022c19; /* Deep forest green for high contrast against the bright sky */
    opacity: 0;
    transform: translateY(40px);
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    animation: luxurySlideUp 1.4s cubic-bezier(0.77, 0, 0.175, 1) 0.2s forwards;
    line-height: 1.1;
}
.hm-lux-dept {
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(14px, 2vw, 20px);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #055f36; /* Emerald green */
    opacity: 0;
    transform: translateY(30px);
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    animation: luxurySlideUp 1.4s cubic-bezier(0.77, 0, 0.175, 1) 0.6s forwards, luxLetterSpace 1.5s ease-out 1.2s forwards;
}

@keyframes luxurySlideUp {
    0% { opacity: 0; transform: translateY(40px); clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); }
    100% { opacity: 1; transform: translateY(0); clip-path: polygon(0 -20%, 100% -20%, 100% 120%, 0 120%); }
}
@keyframes luxLetterSpace {
    to { letter-spacing: 0.35em; }
}

/* ── LEADERS ── */
.hm-leaders { background: #fff; border-bottom: 1px solid var(--fog); padding: 45px 5%; }
.hm-leaders-inner {
    display: flex; gap: 158px; justify-content: center; flex-wrap: wrap;
    max-width: 1280px; margin: 0 auto;
}
.hm-ld {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    background: var(--cream); border: 2px solid var(--fog); border-radius: 22px;
    padding: 32px 28px 28px; width: 260px; flex-shrink: 0;
    transition: all 0.45s var(--ease); position: relative; overflow: hidden;
}
.hm-ld::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(5,150,105,0.04), rgba(241,196,15,0.04));
    opacity: 0; transition: opacity 0.4s;
}
.hm-ld:hover::before { opacity: 1; }
.hm-ld:hover { border-color: var(--emerald); transform: translateY(-5px); box-shadow: 0 18px 45px rgba(5,150,105,0.12); }
.hm-ld-img {
    width: 140px; height: 140px; border-radius: 14px; object-fit: cover;
    border: 4px solid var(--fog); flex-shrink: 0; margin-bottom: 18px;
    transition: all 0.4s var(--ease);
}
.hm-ld:hover .hm-ld-img { border-color: var(--gold); box-shadow: 0 0 0 5px rgba(241,196,15,0.15); transform: scale(1.03); }
.hm-ld-ph {
    width: 140px; height: 140px; border-radius: 14px; background: var(--fog);
    display: flex; align-items: center; justify-content: center;
    font-size: 42px; color: #9ca3af; flex-shrink: 0; margin-bottom: 18px;
}
.hm-ld-name { font-size: 16px; font-weight: 800; color: var(--forest); margin-bottom: 4px; }
.hm-ld-role { font-size: 12px; color: #6b7280; line-height: 1.4; }
.hm-ld-badge {
    display: inline-block; margin-top: 10px; background: var(--fog); color: var(--emerald);
    padding: 3px 10px; border-radius: 6px; font-size: 10px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.06em;
}

/* ── BENTO ── */
.hm-bento { background: var(--cream); padding: 40px 5% 20px; }
.hm-bento-wrap { max-width: 1280px; margin: 0 auto; }
.hm-bento-head {
    font-size: clamp(22px, 3vw, 34px); font-weight: 800; color: var(--forest);
    margin-bottom: 24px; padding-bottom: 12px; border-bottom: 3px solid var(--gold);
}
.hm-bento-head em { font-style: normal; color: var(--emerald); }
.hm-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hm-tile {
    background: #fff; border: 1px solid var(--fog); border-radius: 18px;
    padding: 28px 24px; position: relative; overflow: hidden; transition: all 0.4s var(--ease);
}
.hm-tile::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--emerald), var(--gold));
    transform: scaleX(0); transition: transform 0.4s var(--ease); transform-origin: left;
}
.hm-tile:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(0,0,0,0.06); }
.hm-tile:hover::after { transform: scaleX(1); }
.hm-tile-wide { grid-column: span 2; }
.hm-tile-full { grid-column: 1 / -1; }
.hm-tile-accent { background: var(--forest); color: #fff; border-color: transparent; }
.hm-tile-accent .hm-t-icon { background: rgba(255,255,255,0.1); color: var(--gold); }
.hm-tile-accent h3 { color: var(--gold); }
.hm-tile-accent p { color: rgba(255,255,255,0.7); }
.hm-t-icon {
    width: 46px; height: 46px; background: var(--fog); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--emerald); margin-bottom: 14px; transition: all 0.3s;
}
.hm-tile:hover .hm-t-icon { background: var(--emerald); color: #fff; }
.hm-tile-accent:hover .hm-t-icon { background: var(--gold); color: var(--forest); }
.hm-tile h3 { font-size: 16px; font-weight: 800; color: var(--forest); margin-bottom: 8px; }
.hm-tile p { font-size: 13.5px; color: #555; line-height: 1.6; margin: 0; }

/* Stat bar (replaces flip card) */
.hm-stat-bar {
    grid-column: 1 / -1;
    background: var(--forest); border-radius: 18px; padding: 32px 40px;
    display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 20px;
}
.hm-sb { text-align: center; }
.hm-sb-val { font-size: 30px; font-weight: 800; color: var(--gold); line-height: 1; }
.hm-sb-lbl {
    font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.5);
    text-transform: uppercase; letter-spacing: 0.08em; margin-top: 5px;
}
.hm-sb-divider {
    width: 1px; height: 40px; background: rgba(255,255,255,0.12);
}

/* ── NATURE STRIP ── */
.hm-nature {
    background: linear-gradient(180deg, var(--cream), #dceede);
    padding: 24px 5%; text-align: center; overflow: hidden; position: relative; z-index: 1;
}
.hm-nature-inner {
    max-width: 1280px; margin: 0 auto;
    display: flex; align-items: center; justify-content: center; gap: 40px;
}
.hm-float-icon {
    font-size: 32px; color: var(--emerald); opacity: 0.45;
    animation: hmFloat 3s ease-in-out infinite;
}
.hm-float-icon:nth-child(2) { animation-delay: 0.5s; font-size: 24px; opacity: 0.3; color: var(--gold); }
.hm-float-icon:nth-child(4) { animation-delay: 1.5s; font-size: 22px; opacity: 0.3; color: var(--gold); }
.hm-float-icon:nth-child(5) { animation-delay: 2s; font-size: 28px; opacity: 0.4; }
@keyframes hmFloat {
    0%,100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(6deg); }
}
.hm-nature-text {
    font-size: 13px; font-weight: 700; color: var(--forest);
    opacity: 0.55; letter-spacing: 0.1em; text-transform: uppercase;
}

/* ── TOGGLES + WIDGETS ── */
.hm-toggles { background: var(--cream); padding: 20px 5% 40px; }
.hm-toggles-wrap {
    max-width: 1280px; margin: 0 auto;
}
.hm-toggle-group { display: flex; flex-direction: column; }

.hm-toggle {
    background: #fff; border: 1px solid var(--fog); border-radius: 14px;
    margin-bottom: 12px; overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.02); transition: all 0.3s var(--ease);
}
.hm-toggle:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.05); }
.hm-toggle.active { box-shadow: 0 8px 28px rgba(0,0,0,0.06); border-color: var(--emerald); }
.hm-toggle-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; cursor: pointer; transition: background 0.2s; user-select: none;
}
.hm-toggle-head:hover { background: rgba(5,150,105,0.03); }
.hm-toggle-head h3 {
    font-size: 15px; font-weight: 800; color: var(--forest);
    display: flex; align-items: center; gap: 10px;
}
.hm-toggle-head h3 i { color: var(--emerald); font-size: 16px; }
.hm-toggle-chevron {
    width: 28px; height: 28px; background: var(--fog); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--emerald); font-size: 12px; transition: all 0.3s var(--ease); flex-shrink: 0;
}
.hm-toggle.active .hm-toggle-chevron { background: var(--emerald); color: #fff; transform: rotate(180deg); }
.hm-toggle-body {
    max-height: 0; overflow: hidden;
    transition: max-height 0.45s var(--ease), padding 0.3s; padding: 0 20px;
}
.hm-toggle.active .hm-toggle-body { max-height: 600px; padding: 0 20px 18px; }

.hm-tl {
    display: flex; align-items: flex-start; gap: 8px; padding: 10px 0;
    color: var(--ink); text-decoration: none; font-size: 13.5px; line-height: 1.45;
    border-bottom: 1px dashed #e5e7eb; transition: all 0.2s;
}
.hm-tl:last-of-type { border-bottom: none; }
.hm-tl:hover { color: var(--emerald); padding-left: 5px; }
.hm-tl i { color: var(--emerald); font-size: 10px; margin-top: 5px; flex-shrink: 0; }
.hm-va {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 11.5px; font-weight: 800; color: var(--forest);
    text-decoration: none; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 10px;
}
.hm-va:hover { color: var(--emerald); }

/* Explore quick links (fills whitespace below toggles) */
.hm-explore {
    background: var(--forest); border-radius: 16px; padding: 24px;
    margin-top: 4px;
}
.hm-explore h3 {
    font-size: 13px; font-weight: 800; color: var(--gold);
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px;
}
.hm-explore-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.hm-exp-link {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px; padding: 12px 14px; text-decoration: none;
    transition: all 0.3s var(--ease);
}
.hm-exp-link:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.hm-exp-link i { color: var(--gold); font-size: 14px; flex-shrink: 0; }
.hm-exp-link span { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.8); }

/* ── WIDGETS ROW ── */
.hm-widgets-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    margin-top: 30px;
}
.hm-w {
    background: #fff; border: 1px solid var(--fog); border-radius: 14px;
    overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,0.03);
    transition: all 0.35s var(--ease);
    display: flex; flex-direction: column; height: 100%;
}
.hm-w:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.07); transform: translateY(-2px); }
.hm-wh {
    background: var(--emerald); color: #fff; padding: 12px 16px;
    font-weight: 700; font-size: 12.5px; letter-spacing: 0.06em;
    text-transform: uppercase; display: flex; align-items: center; gap: 7px;
}
.hm-wh i { color: var(--gold); }
.hm-wb { padding: 14px 16px; }
.hm-wl {
    display: block; font-size: 13px; color: var(--ink); text-decoration: none;
    padding: 9px 0; border-bottom: 1px dashed #e5e7eb; transition: all 0.2s; line-height: 1.4;
}
.hm-wl:last-child { border-bottom: none; }
.hm-wl:hover { color: var(--emerald); padding-left: 5px; }
.hm-wl i { color: #9ca3af; margin-right: 6px; font-size: 11px; transition: color 0.2s; }
.hm-wl:hover i { color: var(--emerald); }

/* ── GALLERY (white, clean) ── */
.hm-gallery { background: #fff; padding: 50px 5%; border-top: 1px solid var(--fog); }
.hm-gal-wrap { max-width: 1280px; margin: 0 auto; }
.hm-gal-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
.hm-gal-top h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; color: var(--forest); }
.hm-gal-top p { font-size: 13px; color: #9ca3af; margin-top: 4px; }
.hm-gal-btn {
    padding: 10px 22px; border-radius: 10px; font-weight: 700; font-size: 13px;
    text-decoration: none; background: var(--forest); color: #fff;
    transition: all 0.3s var(--ease); display: inline-flex; align-items: center; gap: 7px;
}
.hm-gal-btn:hover { background: var(--emerald); transform: translateY(-2px); }
.hm-gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hm-gc {
    border-radius: 16px; overflow: hidden; text-decoration: none; display: block;
    border: 1px solid var(--fog); background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04); transition: all 0.4s var(--ease);
}
.hm-gc:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.hm-gc-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.hm-gc-img img { width:100%; height:100%; object-fit:cover; transition: transform 0.5s var(--ease); }
.hm-gc:hover .hm-gc-img img { transform: scale(1.06); }
.hm-gc-body { padding: 16px 18px; }
.hm-gc-type {
    font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--emerald); margin-bottom: 4px;
}
.hm-gc-title { font-size: 15px; font-weight: 700; color: var(--forest); }

/* ── EXTERNAL LINKS (STRIP) ── */
.hm-ext-strip {
    background: var(--forest);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 26px 5%;
}
.hm-ext-inner {
    max-width: 1280px; margin: 0 auto;
    display: flex; align-items: center; justify-content: flex-start; gap: 32px;
}
.hm-ext-title {
    font-size: 14px; font-weight: 800; color: var(--gold);
    text-transform: uppercase; letter-spacing: 0.08em;
    display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.hm-ext-links {
    display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.hm-ext-item {
    display: inline-flex; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 600; text-decoration: none;
    transition: all 0.3s var(--ease); padding: 6px 12px;
    background: rgba(255,255,255,0.05); border-radius: 6px; border: 1px solid transparent;
}
.hm-ext-item i { color: var(--emerald); font-size: 12px; }
.hm-ext-item:hover {
    color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-2px);
    border-color: var(--gold);
}

/* ── REVEAL ── */
.hm-rv { opacity:0; transform:translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.hm-rv.visible { opacity:1; transform:translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width:1100px) {
    .hm-mosaic { grid-template-columns: repeat(2,1fr); }
    .hm-tile-wide { grid-column: span 2; }
    .hm-stat-bar, .hm-tile-full { grid-column: 1 / -1; }
    .hm-ld { min-width: 280px; }
    .hm-explore-grid { grid-template-columns: repeat(3, 1fr); }
    .hm-widgets-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width:768px) {
    .hm-mosaic { grid-template-columns: 1fr; }
    .hm-tile-wide { grid-column: span 1; }
    .hm-stat-bar, .hm-tile-full { grid-column: span 1; }
    .hm-stat-bar { flex-direction: column; gap: 16px; }
    .hm-sb-divider { width: 60px; height: 1px; }
    .hm-leaders-inner { justify-content: center; }
    .hm-ld { width: 220px; }
    .hm-gal-grid { grid-template-columns: 1fr; }
    .hm-gal-top { flex-direction: column; gap: 10px; align-items: flex-start; }
    .hm-nature-inner { gap: 16px; flex-wrap: wrap; }
    .hm-explore-grid { grid-template-columns: 1fr; }
    .hm-widgets-row { grid-template-columns: 1fr; }
}
