/* =========================================
   IMPORTIR GENSET — style.css v3.0
   Mobile-first, Professional, Clean
   ========================================= */

/* === CSS Variables === */
:root {
    /* Core Palette — deep navy + warm amber accent */
    --primary:       #0d2b52;
    --primary-mid:   #163c6e;
    --primary-light: #1e4f8f;
    --accent:        #e8a020;
    --accent-dark:   #c8880c;
    --danger:        #d63b2f;
    --danger-dark:   #b52c22;
    --green:         #1a9f5a;
    --dark:          #0a1628;
    --dark-2:        #1c2b42;
    --mid:           #5a6a80;
    --light:         #f4f7fb;
    --border:        #dde4ee;
    --white:         #ffffff;

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body:    'DM Sans', sans-serif;

    /* Spacing */
    --r-sm:  0.375rem;
    --r:     0.625rem;
    --r-lg:  1rem;
    --r-xl:  1.5rem;
    --r-2xl: 2rem;

    /* Shadows */
    --shadow-sm: 0 1px 4px rgba(13,43,82,0.08);
    --shadow:    0 4px 18px rgba(13,43,82,0.12);
    --shadow-lg: 0 12px 40px rgba(13,43,82,0.16);
    --shadow-xl: 0 24px 64px rgba(13,43,82,0.22);

    /* Transition */
    --t: 0.26s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--dark);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* === Layout === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.125rem;
}
.section-padding { padding: 4rem 0; }

/* === Section Header === */
.section-header {
    max-width: 680px;
    margin: 0 auto 2.5rem;
}
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-dark);
    background: rgba(232,160,32,0.1);
    border: 1px solid rgba(232,160,32,0.25);
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 0.875rem;
}
.section-eyebrow.light {
    color: rgba(255,255,255,0.92);
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0.875rem;
}
.section-desc {
    color: var(--mid);
    font-size: 1rem;
    line-height: 1.7;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.925rem;
    padding: 0.7rem 1.5rem;
    border-radius: var(--r-lg);
    border: 2px solid transparent;
    transition: all var(--t);
    white-space: nowrap;
    line-height: 1;
    letter-spacing: 0.01em;
}
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-primary {
    background: var(--danger);
    color: var(--white);
    border-color: var(--danger);
    box-shadow: 0 4px 18px rgba(214,59,47,0.28);
}
.btn-primary:hover, .btn-primary:focus-visible {
    background: var(--danger-dark);
    border-color: var(--danger-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(214,59,47,0.4);
}
.btn-ghost {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-color: rgba(255,255,255,0.38);
    backdrop-filter: blur(4px);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}
.btn-nav {
    background: var(--danger);
    color: var(--white);
    border-color: var(--danger);
    font-size: 0.85rem;
    padding: 0.5rem 1.1rem;
}
.btn-nav:hover { background: var(--danger-dark); border-color: var(--danger-dark); transform: translateY(-1px); }
.btn-product {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
    font-size: 0.82rem;
    padding: 0.45rem 0.9rem;
    border-radius: var(--r);
}
.btn-product:hover, .btn-product:focus-visible {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0,0,0,0.14);
}
.btn-white:hover, .btn-white:focus-visible {
    background: #eef2fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* === Header === */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--t);
}
header.scrolled { box-shadow: 0 4px 24px rgba(13,43,82,0.1); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}
.logo-img { height: 44px; width: auto; }
.desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}
.desktop-nav a {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--dark-2);
    transition: color var(--t);
    position: relative;
}
.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width var(--t);
    border-radius: 2px;
}
.desktop-nav a:hover { color: var(--primary); }
.desktop-nav a:hover::after { width: 100%; }
#mobile-menu-button {
    background: none;
    border: none;
    font-size: 1.35rem;
    color: var(--primary);
    padding: 0.3rem;
    display: flex;
    align-items: center;
    line-height: 1;
}
.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--white);
    border-top: 1px solid var(--border);
}
.mobile-nav.active { display: flex; }
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.925rem;
    color: var(--dark-2);
    border-bottom: 1px solid var(--border);
    transition: background var(--t), color var(--t);
}
.mobile-nav-link:hover { background: var(--light); color: var(--primary); }
.mobile-nav-cta {
    padding: 0.875rem 1.25rem 1rem;
}
.mobile-nav-cta .btn { width: 100%; }

/* === Hero === */
.hero-section {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background-image: url(../images/head-importir-genset-3.webp);
    background-position: center;
    background-size: cover;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg,
        rgba(10,22,40,0.88) 0%,
        rgba(13,43,82,0.75) 55%,
        rgba(13,43,82,0.5) 100%);
    z-index: 1;
}
.hero-container {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding-top: 5rem;
    padding-bottom: 5rem;
    max-width: 760px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(232,160,32,0.15);
    border: 1px solid rgba(232,160,32,0.4);
    color: #ffc94a;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
    animation: fadeSlideDown 0.6s ease both;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.6rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    animation: fadeSlideDown 0.6s 0.1s ease both;
}
.hero-accent {
    color: var(--accent);
    display: inline-block;
}
.hero-sub {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
    max-width: 580px;
    margin-bottom: 2rem;
    animation: fadeSlideDown 0.6s 0.2s ease both;
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-bottom: 2.5rem;
    animation: fadeSlideDown 0.6s 0.3s ease both;
}
.hero-trust {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeSlideDown 0.6s 0.4s ease both;
}
.trust-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.trust-num {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1;
}
.trust-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
}
.trust-divider {
    width: 1px;
    height: 2.5rem;
    background: rgba(255,255,255,0.2);
    border-radius: 1px;
}
.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

/* === Stats Bar === */
.stats-section {
    background: var(--dark);
    padding: 2.25rem 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--r-lg);
    transition: background var(--t);
}
.stat-item:hover { background: rgba(255,255,255,0.07); }
.stat-icon {
    font-size: 1.35rem;
    color: var(--accent);
    flex-shrink: 0;
}
.stat-item h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 0.2rem;
}
.stat-item h3 span { color: var(--accent); }
.stat-item p { font-size: 0.8rem; color: rgba(255,255,255,0.55); font-weight: 500; }

/* === Products Section === */
.products-section { background: var(--white); }
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    overflow: hidden;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* 1:1 product image */
.product-image-wrap {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 ratio */
    overflow: hidden;
    background: var(--light);
}
.product-image-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-image-wrap img {
    transform: scale(1.05);
}
.product-badge {
    position: absolute;
    top: 0.875rem;
    left: 0.875rem;
    background: var(--danger);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    z-index: 1;
    text-transform: uppercase;
}
.badge-blue { background: var(--primary); }
.badge-green { background: var(--green); }

.product-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-content h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}
.product-content p {
    font-size: 0.875rem;
    color: var(--mid);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
}
.product-kva {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(13,43,82,0.07);
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* === Carousel === */
.carousel-section {
    padding: 3.5rem 0;
    background: var(--light);
    overflow: hidden;
}
.carousel-section-alt { background: var(--white); }
.carousel-section .section-header h2 { color: var(--dark); }
.carousel-track-wrap {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}
.carousel-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    animation: scrollLeft 30s linear infinite;
}
.carousel-track-reverse { animation-direction: reverse; }
.logo-box {
    width: 140px;
    height: 70px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    flex-shrink: 0;
    transition: box-shadow var(--t), border-color var(--t);
}
.carousel-section-alt .logo-box { background: var(--light); }
.logo-box:hover { box-shadow: var(--shadow); border-color: rgba(13,43,82,0.15); }
.logo-box img { max-width: 100%; max-height: 42px; object-fit: contain; filter: grayscale(0.2); }

/* === Promo CTA === */
.promo-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, #2462a8 100%);
    color: var(--white);
}
.promo-section::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 380px; height: 380px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}
.promo-section::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -60px;
    width: 300px; height: 300px;
    background: rgba(232,160,32,0.07);
    border-radius: 50%;
    pointer-events: none;
}
.promo-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2.5rem;
}
.promo-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}
.promo-text p { color: rgba(255,255,255,0.78); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; }
.promo-note { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 0.875rem; }
.promo-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.promo-feat-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 0.6rem 0.875rem;
    border-radius: var(--r);
}
.promo-feat-item i { color: var(--accent); font-size: 0.9rem; flex-shrink: 0; }

/* === Keunggulan Section === */
.keunggulan-section { background: var(--light); }
.keunggulan-section-content { display: grid; gap: 2.5rem; }
.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.image-grid img {
    width: 100%;
    object-fit: cover;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
}
.benefit-list { display: grid; gap: 1.25rem; }
.benefit-item { display: flex; align-items: flex-start; gap: 1rem; }
.benefit-item .icon {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(13,43,82,0.22);
}
.benefit-item .text h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.3rem;
    line-height: 1.35;
}
.benefit-item .text p { font-size: 0.875rem; color: var(--mid); line-height: 1.6; }

/* === Contact Section === */
.contact-section { background: var(--white); }
.contact-section .section-header h2 { color: var(--dark); }
.contact-grid { display: grid; gap: 2.5rem; }
.contact-block { margin-bottom: 1.75rem; }
.contact-block:last-child { margin-bottom: 0; }
.contact-block h4 {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.contact-block p { color: var(--dark-2); font-size: 0.9rem; margin-bottom: 0.3rem; }
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 1rem;
}
.location-item {
    display: flex;
    flex-direction: column;
    padding: 0.35rem 0;
    border-bottom: 1px dashed var(--border);
}
.location-item strong { font-size: 0.78rem; font-weight: 700; color: var(--dark); }
.location-item span { font-size: 0.73rem; color: var(--mid); }
.contact-person {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--light);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    padding: 0.875rem 1rem;
    cursor: pointer;
    transition: all var(--t);
}
.contact-person:hover, .contact-person:focus-visible {
    border-color: #25d366;
    box-shadow: 0 4px 18px rgba(37,211,102,0.18);
    transform: translateY(-2px);
}
.contact-avatar {
    width: 2.75rem;
    height: 2.75rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-name { font-family: var(--font-display); font-weight: 700; color: var(--dark); font-size: 0.875rem; margin-bottom: 0.1rem; }
.contact-phone { font-family: var(--font-display); font-weight: 700; color: var(--primary); font-size: 0.975rem; margin-bottom: 0.25rem; }
.contact-tag {
    display: inline-flex;
    align-items: center;
    background: #dcfce7;
    color: #166534;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
}
.contact-form-box {
    background: linear-gradient(150deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--r-2xl);
    box-shadow: var(--shadow-lg);
}
.contact-form-box h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}
.contact-form-box > p { color: rgba(255,255,255,0.72); font-size: 0.875rem; margin-bottom: 1.5rem; }
.contact-form-box .form-label { color: rgba(255,255,255,0.85); }
.contact-form-box .form-input {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: var(--white);
}
.contact-form-box .form-input::placeholder { color: rgba(255,255,255,0.38); }
.contact-form-box .form-input:focus {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.14);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
}

/* === Form Elements === */
.form-group { margin-bottom: 1rem; }
.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark-2);
    margin-bottom: 0.4rem;
    font-family: var(--font-display);
}
.required { color: var(--danger); }
.form-input {
    width: 100%;
    padding: 0.7rem 0.95rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--dark);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    transition: border-color var(--t), box-shadow var(--t);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,43,82,0.1);
}
textarea.form-input { resize: vertical; min-height: 88px; }
.form-btn { width: 100%; margin-top: 0.25rem; }

/* === Fixed Modal === */
#form-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t), visibility var(--t);
}
#form-modal.active {
    opacity: 1;
    visibility: visible;
}
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10,22,40,0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.modal-content {
    position: relative;
    z-index: 1;
    background: var(--white);
    border-radius: var(--r-2xl);
    padding: 1.75rem;
    width: 100%;
    max-width: 460px;
    box-shadow: var(--shadow-xl);
    transform: scale(0.96) translateY(12px);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
    max-height: 90svh;
    overflow-y: auto;
    overscroll-behavior: contain;
}
#form-modal.active .modal-content {
    transform: scale(1) translateY(0);
}
.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.modal-header-text { flex: 1; }
.modal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green);
    background: rgba(26,159,90,0.1);
    border: 1px solid rgba(26,159,90,0.2);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}
.modal-header-text h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}
.modal-desc { font-size: 0.85rem; color: var(--mid); line-height: 1.55; }
.close-modal {
    background: var(--light);
    border: none;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mid);
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: background var(--t), color var(--t);
}
.close-modal:hover { background: #e8edf5; color: var(--dark); }
.modal-privacy {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.74rem;
    color: var(--mid);
    margin-top: 0.875rem;
    text-align: center;
    justify-content: center;
}
.modal-privacy i { color: var(--green); }

/* === Floating WhatsApp === */
.floating-wa {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}
.floating-wa-label {
    background: var(--dark);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    opacity: 0;
    transform: translateX(8px);
    transition: all var(--t);
    white-space: nowrap;
    pointer-events: none;
}
.floating-wa:hover .floating-wa-label { opacity: 1; transform: translateX(0); }
.floating-wa-btn {
    width: 3.5rem;
    height: 3.5rem;
    background: #25d366;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    transition: transform var(--t), box-shadow var(--t);
}
.floating-wa-btn:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.6); }
.floating-wa-btn i { color: var(--white); font-size: 1.75rem; }
/* WA pulse ring */
.floating-wa-btn::before {
    content: '';
    position: absolute;
    width: 3.5rem; height: 3.5rem;
    border-radius: 50%;
    background: rgba(37,211,102,0.4);
    animation: waPulse 2.5s ease-out infinite;
}
@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* === Footer === */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.75);
}
.footer-inner {
    display: grid;
    gap: 2.5rem;
    padding-top: 3.5rem;
    padding-bottom: 3rem;
}
.footer-brand { max-width: 300px; }
.footer-logo { height: 42px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
}
.footer-links { display: grid; gap: 2rem; }
.footer-col {}
footer h3 {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
}
footer ul { display: grid; gap: 0.5rem; }
footer ul a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    transition: color var(--t);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
footer ul a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 1.25rem 0;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    text-align: center;
}

/* === Animations === */
@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
    50%       { transform: translateX(-50%) translateY(8px); opacity: 1; }
}
@keyframes scrollLeft {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.fa-spin { animation: spin 0.8s linear infinite; }

/* === Scroll Reveal === */
.observe-me { transition: opacity 0.55s ease, transform 0.55s ease; }
.observe-me.visible { opacity: 1 !important; transform: translateY(0) !important; }

/* ==========================================
   RESPONSIVE — Mobile-First
   ========================================== */

/* 480px — 2-col products on small phones landscape */
@media (min-width: 480px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 640px */
@media (min-width: 640px) {
    .section-padding { padding: 5rem 0; }
    .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
    .stat-item { padding: 1.25rem; }
    .stat-item h3 { font-size: 2rem; }
    .promo-features { grid-template-columns: repeat(3, 1fr); }
    .footer-links { grid-template-columns: repeat(3, 1fr); }
    .carousel-section { padding: 4rem 0; }
}

/* 768px — Desktop */
@media (min-width: 768px) {
    .desktop-nav { display: flex; }
    #mobile-menu-button { display: none; }
    .hero-section { background-attachment: fixed; }
    .hero-buttons { flex-wrap: nowrap; }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
    .footer-inner { grid-template-columns: 1.6fr 2fr; }
    .footer-links { gap: 1.5rem; }
    .keunggulan-section-content { grid-template-columns: 1fr 1fr; align-items: start; }
    .promo-inner { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* 1024px */
@media (min-width: 1024px) {
    .stat-item h3 { font-size: 2.4rem; }
    .products-grid { gap: 1.5rem; }
}

/* High DPI mobile — disable fixed bg (performance) */
@media (max-width: 767px) {
    .hero-section { background-attachment: scroll; }
}