/* EkoCipta landing page — small custom rules that sit on top of Tailwind utilities. */

* {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
}
input, textarea {
    -webkit-user-drag: auto;
    user-select: text;
}
input, textarea, select, button, a, .cart-btn, .qty-btn {
    pointer-events: auto;
}

body {
    font-family: var(--font-family);
}

.bg-grid-pattern {
    background-image: radial-gradient(rgba(16, 185, 129, 0.12) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* --- Hero slideshow (desktop only): headline slide + 4 image slides --- */
.hero-slides-viewport {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}
/* The track's width and each slide's width are set inline by ekocipta.html,
   since the number of kegiatan slides varies (headline + up to five). */
.hero-slides-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide {
    flex-shrink: 0;
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
.hero-slide img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 1.5rem;
}

/* A kegiatan slide: the image fills a near-square-cornered card and the title
   sits on a light, frosted band laid over the bottom of the image, with the
   kegiatan's date (when it has one) under the title. */
.kegiatan-slide {
    position: relative;
    width: 100%;
    height: 440px;
    margin: 0;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background-color: #e2e8f0;
}
.kegiatan-slide img {
    display: block;
    height: 100%;
    border-radius: 0;
}
.kegiatan-slide-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 15%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 12px 18px 14px;
    background-color: rgba(214, 228, 233, 0.74);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    color: #0f172a;
}
/* Same as the hero's <strong class="text-slate-900 font-semibold">EkoCipta</strong>. */
.kegiatan-slide-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* text-slate-600, like the hero paragraph around it. */
.kegiatan-slide-when {
    font-size: 0.8125rem;
    font-weight: 400;
    color: #475569;
}
.hero-slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background-color: #cbd5e1;
    transition: background-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
    padding: 0;
}
.hero-slide-dot.active {
    background-color: #059669;
    transform: scale(1.2);
}

/* --- Hero summary/leaderboard sliding tabs --- */
.hero-tab-viewport {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}
.hero-tab-track {
    display: flex;
    width: 200%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-tab-content {
    width: 50%;
    flex-shrink: 0;
}

/* --- Landing page, design "Foto Penuh" (reference v1a_foto_penuh.png) --- */
:root {
    --lp-cream: #F6F1E6; --lp-paper: #FFFDF8; --lp-forest: #1F4D3A; --lp-forest2: #2E6B4F;
    --lp-leaf: #7FB069; --lp-clay: #C8643B; --lp-ink: #23201A; --lp-mute: #6E6658; --lp-line: #E4DCCB;
}
body.lp-body { background: var(--lp-cream); color: var(--lp-ink); }
.lp-hero { position: relative; height: 720px; overflow: hidden; background: var(--lp-forest); color: var(--lp-cream); }
.lp-hero-photos img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
    opacity: 0; transition: opacity 1.2s ease;
}
.lp-hero-photos img.active { opacity: 1; }
.lp-hero::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(20,45,34,.92) 0, rgba(20,45,34,.75) 42%, rgba(20,45,34,.05) 75%);
}
.lp-nav {
    position: relative; z-index: 2; max-width: 80rem; margin: 0 auto; padding: 24px 2rem;
    display: flex; align-items: center; justify-content: space-between;
}
.lp-logo { font-family: Fraunces, serif; font-weight: 800; font-size: 26px; color: var(--lp-cream); }
.lp-nav nav { display: flex; gap: 34px; font-weight: 500; font-size: 15px; }
.lp-nav nav a { color: var(--lp-cream); opacity: .9; }
.lp-nav nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.lp-btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .15s; }
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn-light { background: var(--lp-cream); color: var(--lp-forest); }
.lp-btn-ghost { border: 1.5px solid var(--lp-cream); color: var(--lp-cream); }
.lp-copy { position: relative; z-index: 2; max-width: 80rem; margin: 0 auto; padding: 40px 2rem 0; }
.lp-copy > * { max-width: 700px; }
.lp-tag {
    display: inline-block; background: rgba(246,241,230,.15); border: 1px solid rgba(246,241,230,.35);
    padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 13px;
}
.lp-copy h1 { font-family: Fraunces, serif; font-weight: 800; font-size: 54px; line-height: 1.05; margin: 20px 0 16px; }
.lp-copy h1 em { font-style: normal; color: #F2B48F; }
.lp-copy p { font-size: 18px; line-height: 1.6; opacity: .88; max-width: 560px; }
.lp-cta { display: flex; gap: 14px; margin-top: 30px; }
.lp-caption {
    position: absolute; z-index: 2; right: max(2rem, calc((100vw - 80rem) / 2 + 2rem)); bottom: 110px;
    background: rgba(255,253,248,.92); border-radius: 12px; padding: 9px 14px; font-size: 12px; color: var(--lp-mute);
}
.lp-caption b { display: block; color: var(--lp-ink); font-size: 13px; }
.lp-cards {
    position: relative; z-index: 3; max-width: 80rem; margin: -80px auto 0; padding: 0 2rem;
    grid-template-columns: 1fr 1.6fr; gap: 22px;
}
.lp-card {
    background: var(--lp-paper); border-radius: 24px; padding: 26px 28px; border: 1px solid var(--lp-line);
    box-shadow: 0 20px 44px rgba(35,32,26,.16); color: var(--lp-ink);
}
.lp-card h4 {
    font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; color: var(--lp-clay);
    margin-bottom: 16px; display: flex; justify-content: space-between; gap: 12px;
}
.lp-card h4.lp-forest { color: var(--lp-forest); }
.lp-card h4 span { color: var(--lp-mute); letter-spacing: 0; text-transform: none; font-weight: 500; }
.lp-g3, .lp-g4 { display: grid; gap: 16px; }
.lp-g3 { grid-template-columns: repeat(3, 1fr); }
.lp-g4 { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
.lp-g3 > div { border-left: 3px solid var(--lp-leaf); padding-left: 12px; }
.lp-g4 > div { border-left: 3px solid var(--lp-forest); padding-left: 12px; }
.lp-card strong { font-family: Fraunces, serif; font-size: 28px; font-weight: 800; color: var(--lp-forest); display: block; line-height: 1.1; white-space: nowrap; }
.lp-card strong.lp-clay { color: var(--lp-clay); font-size: 34px; }
.lp-card small { font-size: 12px; color: var(--lp-mute); line-height: 1.5; display: block; margin-top: 4px; }
.lp-lb { max-width: 80rem; margin: 0 auto; padding: 60px 2rem 70px; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: center; }
.lp-lb h3 { font-family: Fraunces, serif; font-weight: 800; font-size: 36px; color: var(--lp-forest); line-height: 1.15; }
.lp-lb p { color: var(--lp-mute); margin-top: 12px; line-height: 1.6; }
.lp-more { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--lp-clay); }
.lp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-it {
    display: flex; align-items: center; gap: 14px; background: var(--lp-paper); border: 1px solid var(--lp-line);
    border-radius: 16px; padding: 14px 16px;
}
.lp-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; flex-shrink: 0; }
.lp-av1 { background: var(--lp-clay); } .lp-av2 { background: #9AA5B1; } .lp-av3 { background: #B98B5E; }
.lp-av4 { background: var(--lp-leaf); } .lp-av5 { background: var(--lp-forest2); }
.lp-nm { flex: 1; font-weight: 700; font-size: 14px; color: var(--lp-ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-nm small { display: block; font-weight: 500; color: var(--lp-mute); font-size: 12px; margin-top: 2px; }
.lp-pt { font-family: Fraunces, serif; font-weight: 800; font-size: 24px; color: var(--lp-forest); }
.lp-it.lp-top { grid-column: span 2; background: var(--lp-forest); border: 0; }
.lp-it.lp-top .lp-nm { color: var(--lp-cream); }
.lp-it.lp-top .lp-nm small { color: #CFE0D3; }
.lp-it.lp-top .lp-pt { color: #F2D7A0; font-size: 30px; }
.lp-empty { color: var(--lp-mute); text-align: center; padding: 30px; background: var(--lp-paper); border-radius: 16px; }

/* Colour tints for icons and badges */
.lp-t-leaf { background: #E3EDD6; color: #4F7A33; }
.lp-t-gold { background: #F6E7C4; color: #9A6B12; }
.lp-t-clay { background: #F5DDD0; color: var(--lp-clay); }
.lp-t-forest { background: #D9E6DE; color: var(--lp-forest); }

/* Lower sections */
.lp-wrap { max-width: 80rem; margin: 0 auto; padding: 0 2rem; }
.lp-section { padding: 84px 0; }
.lp-paper-bg { background: var(--lp-paper); border-top: 1px solid var(--lp-line); }
.lp-sand-bg { background: #EFE7D6; }
.lp-head { text-align: center; max-width: 46rem; margin: 0 auto 48px; }
.lp-kicker { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; color: var(--lp-clay); }
.lp-kicker-light { color: #F2B48F; }
.lp-head h2, .lp-cta-band h2 { font-family: Fraunces, serif; font-weight: 800; font-size: 42px; line-height: 1.1; color: var(--lp-forest); margin-top: 10px; }
.lp-head p { margin-top: 14px; font-size: 18px; line-height: 1.6; color: var(--lp-mute); }
.lp-eco { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; align-items: center; }
.lp-eco-col { display: grid; gap: 22px; }
.lp-pillar {
    cursor: pointer; background: var(--lp-cream); border: 2px solid var(--lp-line); border-radius: 22px; padding: 22px;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.lp-pillar:hover { border-color: var(--lp-leaf); transform: translateY(-2px); }
.lp-pillar.lp-active { border-color: var(--lp-forest); box-shadow: 0 0 0 4px rgba(127,176,105,.35); }
.lp-pillar-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; color: var(--lp-forest); }
.lp-badge { font-size: 11px; font-weight: 700; letter-spacing: 1px; padding: 4px 10px; border-radius: 999px; }
.lp-pillar h4 { font-family: Fraunces, serif; font-weight: 800; font-size: 22px; color: var(--lp-forest); }
.lp-pillar p { font-size: 13px; color: var(--lp-mute); margin: 6px 0 12px; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; border-top: 1px dashed var(--lp-line); }
.lp-chips span { background: var(--lp-paper); border: 1px solid var(--lp-line); border-radius: 8px; padding: 3px 9px; font-size: 12px; font-weight: 500; }
.lp-hub {
    background: linear-gradient(160deg, var(--lp-forest2), var(--lp-forest) 60%, #163A2B); color: var(--lp-cream);
    border-radius: 28px; padding: 34px 28px; text-align: center; box-shadow: 0 24px 50px rgba(31,77,58,.28);
}
.lp-hub-ic { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px; background: rgba(246,241,230,.12); display: grid; place-items: center; color: #F2D7A0; }
.lp-hub-ic svg { width: 34px; height: 34px; }
.lp-hub h3 { font-family: Fraunces, serif; font-weight: 800; font-size: 30px; }
.lp-hub > span { display: block; font-size: 13px; color: #CFE0D3; margin: 4px 0 22px; }
.lp-hub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; text-align: left; }
.lp-hub-grid div { background: rgba(246,241,230,.1); border: 1px solid rgba(246,241,230,.15); border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.lp-hub-grid svg { width: 16px; height: 16px; color: #F2D7A0; }
.lp-note { margin-top: 30px; display: flex; gap: 10px; align-items: center; justify-content: center; background: var(--lp-cream); border: 1px solid var(--lp-line); border-radius: 16px; padding: 14px 18px; color: var(--lp-ink); font-size: 14px; }
.lp-note svg { width: 18px; height: 18px; color: var(--lp-clay); flex-shrink: 0; }
.lp-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
.lp-tab { padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; background: var(--lp-paper); color: var(--lp-forest); border: 1px solid var(--lp-line); transition: background .2s; }
.lp-tab:hover { background: #FBF6EC; }
.lp-tab.lp-active { background: var(--lp-forest); color: var(--lp-cream); border-color: var(--lp-forest); }
.lp-panel { background: var(--lp-paper); border: 1px solid var(--lp-line); border-radius: 28px; padding: 44px; box-shadow: 0 18px 40px rgba(35,32,26,.08); }
.lp-sol { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.lp-sol.hidden { display: none; }
.lp-sol-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; }
.lp-sol h4 { font-family: Fraunces, serif; font-weight: 800; font-size: 28px; line-height: 1.2; color: var(--lp-forest); }
.lp-sol p { margin-top: 12px; color: var(--lp-mute); line-height: 1.7; }
.lp-feat { background: var(--lp-cream); border: 1px solid var(--lp-line); border-radius: 20px; padding: 22px; }
.lp-feat-k { display: block; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; color: var(--lp-mute); margin-bottom: 14px; }
.lp-feat-it { display: flex; gap: 12px; align-items: flex-start; background: var(--lp-paper); border: 1px solid var(--lp-line); border-radius: 14px; padding: 14px 16px; }
.lp-feat-it svg { width: 20px; height: 20px; color: var(--lp-clay); flex-shrink: 0; margin-top: 2px; }
.lp-feat-it b { display: block; font-size: 14px; color: var(--lp-ink); }
.lp-feat-it small { font-size: 13px; color: var(--lp-mute); }
.lp-cta-band { position: relative; overflow: hidden; background: var(--lp-forest); color: var(--lp-cream); padding: 90px 0; }
.lp-leaf { position: absolute; right: -80px; top: -60px; width: 420px; height: 420px; fill: var(--lp-forest2); opacity: .7; }
.lp-cta-inner { position: relative; text-align: center; max-width: 52rem; }
.lp-cta-band h2 { color: var(--lp-cream); font-size: 46px; }
.lp-cta-inner > p { margin-top: 14px; font-size: 18px; color: #CFE0D3; }
.lp-form { display: flex; gap: 12px; max-width: 34rem; margin: 30px auto 0; }
.lp-form input { flex: 1; padding: 15px 20px; border-radius: 999px; border: 0; color: var(--lp-ink); font-size: 15px; outline: none; }
.lp-form button { background: var(--lp-clay); color: #fff; font-weight: 700; padding: 15px 26px; border-radius: 999px; white-space: nowrap; }
.lp-form button:hover { background: #B4552F; }
.lp-thanks { margin-top: 14px; font-size: 13px; color: #CFE0D3; }
.lp-thanks.hidden { display: none; }
.lp-footer { background: #163A2B; color: #A9C2B3; padding: 30px 0; font-size: 13px; }
.lp-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lp-footer .lp-logo { font-size: 22px; }

/* Mobile hub (below md) */
.lp-m { min-height: 100vh; padding-bottom: 36px; }
.lp-m-top { position: relative; height: 330px; overflow: hidden; background: var(--lp-forest); color: var(--lp-cream); }
.lp-m-top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-m-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,45,34,.35), rgba(20,45,34,.92) 75%); }
.lp-m-login { position: absolute; z-index: 2; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--lp-cream); color: var(--lp-forest); display: grid; place-items: center; }
.lp-m-login svg { width: 20px; height: 20px; }
.lp-m-copy { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 44px; }
.lp-m-copy h1 { font-family: Fraunces, serif; font-weight: 800; font-size: 28px; line-height: 1.1; margin: 8px 0; }
.lp-m-copy h1 em { font-style: normal; color: #F2B48F; }
.lp-m-copy p { font-size: 13px; opacity: .85; }
.lp-m-month {
    position: relative; z-index: 3; margin: -28px 16px 0; background: var(--lp-paper); border: 1px solid var(--lp-line);
    border-radius: 20px; padding: 14px 16px; box-shadow: 0 14px 30px rgba(35,32,26,.14);
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-size: 12px; color: var(--lp-mute);
}
.lp-m-month span { grid-column: span 3; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 700; color: var(--lp-clay); }
.lp-m-month b { display: block; font-family: Fraunces, serif; font-size: 22px; color: var(--lp-forest); }
.lp-m-links { display: grid; gap: 10px; margin: 18px 16px 0; }
.lp-m-links a { display: flex; align-items: center; gap: 14px; background: var(--lp-paper); border: 1px solid var(--lp-line); border-radius: 16px; padding: 12px 14px; font-weight: 600; font-size: 14px; color: var(--lp-ink); }
.lp-m-links a span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.lp-m-links a svg { width: 20px; height: 20px; }
