/**
 * InvitKeun — Landing page (tipografi santai, section rapi)
 */
.landing-page {
    --landing-kicker: clamp(1.05rem, 2.6vw, 1.35rem);
    --landing-title: clamp(1.15rem, 2.8vw, 1.5rem);
    --landing-lead: 0.8125rem;
    --landing-hero: clamp(1.85rem, 5vw, 2.65rem);
    --landing-hero-script: clamp(2rem, 5.5vw, 2.85rem);
    --landing-hero-sub: clamp(1rem, 2.4vw, 1.25rem);
}

.landing-section-head {
    text-align: center;
    max-width: var(--public-content, 42rem);
    margin-inline: auto;
    margin-bottom: clamp(2rem, 5vw, 2.75rem);
}

.landing-kicker {
    display: block;
    font-family: 'Great Vibes', cursive;
    font-size: var(--landing-kicker);
    line-height: 1.15;
    color: var(--brand-accent, #4a6741);
    margin-bottom: 0.35rem;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.landing-title {
    font-family: 'Playfair Display', serif;
    font-size: var(--landing-title);
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
    margin: 0;
}

.landing-lead {
    font-size: var(--landing-lead);
    line-height: 1.65;
    color: var(--muted);
    margin: 0.75rem auto 0;
    max-width: 32rem;
}

.landing-page .landing-hero {
    min-height: min(92vh, 52rem);
}

.landing-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: var(--landing-hero);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.landing-hero__title em {
    font-family: 'Great Vibes', cursive;
    font-style: normal;
    font-weight: 400;
    font-size: var(--landing-hero-script);
    color: rgba(255, 255, 255, 0.92);
    display: inline-block;
    vertical-align: baseline;
    margin-inline: 0.15em;
}

.landing-hero__subtitle {
    display: block;
    font-size: var(--landing-hero-sub);
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-top: 0.35rem;
    opacity: 0.95;
}

.landing-hero__desc {
    font-size: clamp(0.9rem, 2.2vw, 1rem);
    line-height: 1.7;
    max-width: 32rem;
    margin-inline: auto;
}

.landing-stat-value {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 3.2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.15;
}

.landing-stat-label {
    font-size: 0.75rem;
    opacity: 0.75;
}

.landing-cta-script {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(1.45rem, 3.8vw, 1.85rem);
    line-height: 1.15;
}

.landing-cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 2.8vw, 1.4rem);
    font-weight: 700;
    line-height: 1.3;
}

.landing-price {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.35rem, 3.5vw, 1.65rem);
    font-weight: 700;
    color: var(--invitkeun);
}

.price-before,
.price-strike {
    color: #9ca3af;
    text-decoration: line-through;
    text-decoration-thickness: 0.12em;
    text-decoration-color: rgba(153, 27, 27, 0.65);
}

.price-before {
    font-size: 0.9rem;
    font-weight: 600;
}

.landing-price-card__amount {
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.landing-section {
    padding-block: clamp(3.5rem, 8vw, 5.5rem);
}

.landing-section--tight {
    padding-block: clamp(3rem, 6vw, 4.5rem);
}

/* Kategori — scroll horizontal ringkas */
.landing-cat-strip {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    margin-bottom: 1.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

@media (min-width: 768px) {
    .landing-cat-strip {
        justify-content: center;
        overflow-x: visible;
        flex-wrap: wrap;
        padding-bottom: 0;
        max-width: 60rem;
        margin-inline: auto;
    }
}

.landing-cat-strip::-webkit-scrollbar {
    height: 4px;
}

.landing-cat-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #475569;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.landing-cat-chip:hover {
    border-color: rgba(61, 107, 79, 0.35);
    color: var(--invitkeun);
    background: #f6faf7;
}

.landing-cat-chip__count {
    font-size: 0.65rem;
    opacity: 0.7;
}

/* Grid template showcase — kartu lebih ringkas */
.landing-template-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

@media (min-width: 640px) {
    .landing-template-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .landing-template-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.15rem;
    }
}

.landing-template-card {
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid #eef2f0;
    box-shadow: 0 6px 24px rgba(61, 107, 79, 0.05);
    transition: box-shadow 0.25s, transform 0.25s;
}

.landing-template-card:hover {
    box-shadow: 0 14px 36px rgba(61, 107, 79, 0.1);
    transform: translateY(-3px);
}

.landing-template-card__thumb {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f1f5f9;
    position: relative;
}

.landing-template-card__thumb .template-thumb-img,
.landing-template-card__thumb img {
    width: 100%;
    height: 100%;
    display: block;
}

.landing-template-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.landing-template-card:hover .landing-template-card__thumb img {
    transform: scale(1.04);
}

.landing-template-card__body {
    padding: 0.55rem 0.7rem 0.7rem;
    text-align: center;
}

.landing-template-card__cat {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--invitkeun);
    font-weight: 600;
}

.landing-template-card__name {
    font-family: 'Playfair Display', serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 0.1rem;
    line-height: 1.2;
}

.landing-template-card__actions {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.landing-template-card__actions a {
    font-size: 0.65rem;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
}

.landing-showcase-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--muted);
    margin-top: 1.25rem;
}

.landing-banner-cta {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #f0f7f2 0%, #fff 100%);
    border: 1px solid #e2ebe5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

@media (min-width: 640px) {
    .landing-banner-cta {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.landing-banner-cta p {
    font-size: 0.875rem;
    color: #475569;
    margin: 0;
}

.landing-banner-cta strong {
    color: #111827;
    font-weight: 600;
}

/* Tombol: ukuran & padding di brand-public.css (.btn-brand) */

.landing-hero__actions .landing-btn {
    min-width: 11.5rem;
}

.landing-cat-chip--active {
    background: var(--brand-accent, #4a6741) !important;
    color: #fff !important;
    border-color: var(--brand-accent-dark, #3a5234) !important;
}

.landing-cat-chip--active .landing-cat-chip__count {
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.85);
}

.landing-template-card__actions {
    flex-wrap: wrap;
}

.landing-template-card__actions .landing-btn-sm {
    flex: 1 1 auto;
    justify-content: center;
    max-width: calc(50% - 0.25rem);
}

/* ——— Testimoni ——— */
.landing-testimonial {
    position: relative;
    max-width: 42rem;
    margin-inline: auto;
    padding-inline: clamp(2.75rem, 8vw, 3.5rem);
}

.landing-testimonial__viewport {
    overflow: hidden;
    border-radius: 1.25rem;
}

.landing-testimonial .testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.28, 1);
}

.landing-testimonial .testimonial-slide {
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
    padding-inline: 0.15rem;
}

.landing-testimonial__card {
    background: #fff;
    border: 1px solid var(--brand-border, rgba(52, 44, 36, 0.1));
    border-radius: 1.25rem;
    padding: clamp(1.35rem, 4vw, 1.75rem);
    box-shadow: 0 16px 48px var(--brand-shadow, rgba(52, 44, 36, 0.08));
    text-align: center;
    max-width: 36rem;
    margin-inline: auto;
}

.landing-testimonial__stars {
    display: flex;
    gap: 0.2rem;
    justify-content: center;
    margin-bottom: 0.85rem;
    color: #d4a017;
    font-size: 0.75rem;
}

.landing-testimonial__quote {
    margin: 0 auto 1rem;
    padding: 0;
    border: none;
    max-width: 32rem;
}

.landing-testimonial__quote::before {
    content: '\201C';
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--brand-accent, #4a6741);
    margin-bottom: 0.35rem;
    opacity: 0.85;
}

.landing-testimonial__quote p {
    margin: 0;
    font-size: clamp(0.8125rem, 2vw, 0.9375rem);
    line-height: 1.65;
    color: var(--brand-ink-muted, #6b5f52);
    font-style: italic;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.landing-testimonial__quote p::before,
.landing-testimonial__quote p::after {
    content: none;
}

.landing-testimonial__author {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding-top: 1rem;
    margin-top: 0.25rem;
    border-top: 1px solid var(--brand-border, rgba(52, 44, 36, 0.1));
    text-align: center;
}

.landing-testimonial__avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--brand-cream-dark, #d9c9b0);
}

.landing-testimonial__avatar--initial {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-cream, #e8dcc8);
    color: var(--brand-accent-dark, #3a5234);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.landing-testimonial__meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.landing-testimonial__name {
    font-family: 'Playfair Display', serif;
    font-size: 0.9375rem;
    font-weight: 600;
    font-style: normal;
    color: var(--brand-ink, #342c24);
    line-height: 1.3;
}

.landing-testimonial__couple {
    font-size: 0.75rem;
    color: var(--brand-ink-soft, #8a7d6e);
    line-height: 1.35;
}

.landing-testimonial__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--brand-border, rgba(52, 44, 36, 0.12));
    color: var(--brand-ink-muted, #6b5f52);
    box-shadow: 0 8px 24px var(--brand-shadow, rgba(52, 44, 36, 0.1));
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.landing-testimonial__nav:hover {
    background: var(--brand-cream-light, #f4ede4);
    color: var(--brand-accent, #4a6741);
    border-color: rgba(74, 103, 65, 0.35);
}

.landing-testimonial__nav:active {
    transform: translateY(-50%) scale(0.96);
}

.testimonial-prev {
    left: 0;
}

.testimonial-next {
    right: 0;
}

.landing-testimonial__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.25rem;
}

.landing-testimonial__dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: var(--brand-cream-dark, #d9c9b0);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.landing-testimonial__dot.is-active {
    width: 1.5rem;
    background: var(--brand-accent, #4a6741);
}

@media (max-width: 639px) {
    .landing-testimonial {
        padding-inline: 2.5rem;
        max-width: 100%;
    }

    .landing-testimonial__card {
        padding: 1.25rem 1.1rem 1.35rem;
    }

    .landing-testimonial__nav {
        width: 2.15rem;
        height: 2.15rem;
        font-size: 0.7rem;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .landing-testimonial {
        max-width: 38rem;
        padding-inline: 3rem;
    }
}
