/* ==========================================================================
   Kchick Fried Chicken - Stylesheet Utama (Mobile-First, High Conversion)
   ========================================================================== */
:root {
    --primary: #c81e1e;
    --primary-dark: #9b1c1c;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --wa-green: #16a34a;
    --wa-green-dark: #15803d;
    --dark: #1f2937;
    --muted: #4b5563;
    --bg-light: #fffbeb;
    --bg-gray: #f9fafb;
    --border: #e5e7eb;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.65;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

.wa-svg-icon {
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle;
}

/* Topbar */
.topbar {
    background: var(--dark);
    color: #f3f4f6;
    font-size: 0.85rem;
    padding: 8px 0;
}
.topbar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}
.topbar a {
    color: #fde68a;
    font-weight: 600;
}

/* Header */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    gap: 16px;
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--dark);
    flex-shrink: 0;
}
.brand-logo img {
    width: auto;
    min-width: 60px;
    max-width: 88px;
    height: 62px;
    border-radius: 10px;
    object-fit: contain;
    background-color: var(--white);
    padding: 3px;
    border: 1px solid var(--border);
}
.brand-text strong {
    display: block;
    font-size: 1.24rem;
    line-height: 1.2;
    color: var(--primary);
}
.brand-text small {
    font-size: 0.82rem;
    color: var(--muted);
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 1.35rem;
    cursor: pointer;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 18px;
}
.main-nav a {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease, background-color 0.2s ease;
    text-align: center;
}
.btn:hover {
    transform: translateY(-2px);
}
.btn-sm {
    padding: 9px 16px;
    font-size: 0.9rem;
}
.btn-primary {
    background: var(--primary);
    color: var(--white) !important;
}
.btn-primary:hover {
    background: var(--primary-dark);
}
.btn-accent {
    background: var(--accent);
    color: #111827 !important;
}
.btn-accent:hover {
    background: var(--accent-dark);
    color: var(--white) !important;
}
.btn-wa {
    background: var(--wa-green);
    color: var(--white) !important;
}
.btn-wa:hover {
    background: var(--wa-green-dark);
}
.btn-outline {
    background: var(--white);
    color: var(--primary) !important;
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: #fef2f2;
}
.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fffbeb 0%, #fef2f2 100%);
    padding: 56px 0;
    border-bottom: 1px solid #fde68a;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
}
.badge-pill {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
    border: 1px solid #fcd34d;
}
.hero h1 {
    font-size: 2.3rem;
    line-height: 1.2;
    color: #111827;
    margin-bottom: 16px;
}
.hero h1 span {
    color: var(--primary);
}
.hero-lead {
    font-size: 1.08rem;
    color: var(--muted);
    margin-bottom: 24px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}
.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--dark);
}
.hero-media img {
    border-radius: 18px;
    box-shadow: var(--shadow);
    border: 4px solid var(--white);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Sections */
.section {
    padding: 64px 0;
}
.section-alt {
    background: var(--bg-gray);
}
.section-warm {
    background: var(--bg-light);
}
.section-header {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 42px;
}
.section-header h2 {
    font-size: 1.9rem;
    color: #111827;
    margin-bottom: 10px;
}
.section-header p {
    color: var(--muted);
    font-size: 1.02rem;
}

/* Grid Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Value / Trust Cards */
.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 0.93rem;
    color: var(--muted);
}

/* Pricing Cards */
.pricing-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    position: relative;
}
.pricing-card.featured {
    border-color: var(--primary);
    transform: translateY(-6px);
}
.pricing-ribbon {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 12px;
    letter-spacing: 0.4px;
}
.pricing-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}
.pricing-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.pricing-title {
    font-size: 1.35rem;
    margin-bottom: 6px;
}
.pricing-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 8px 0 12px;
}
.pricing-desc {
    font-size: 0.92rem;
    color: var(--muted);
    margin-bottom: 16px;
}
.pricing-list {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
}
.pricing-list li {
    padding: 7px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pricing-list li::before {
    content: "✔";
    color: var(--wa-green);
    font-weight: 700;
}

/* Kalkulator & Tabel */
.calc-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow);
}
.calc-controls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}
.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}
.calc-result {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
}
.calc-result strong {
    display: block;
    font-size: 1.35rem;
    color: var(--primary);
}

/* Kota Badges / Cards */
.city-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: border-color 0.2s, transform 0.15s;
}
.city-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}
.city-card h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}
.city-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 12px;
}

/* FAQ Accordion */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px 20px;
}
.faq-item summary {
    font-weight: 700;
    cursor: pointer;
    font-size: 1.02rem;
    color: #111827;
}
.faq-item p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.95rem;
}

/* Breadcrumb & Subpage Header */
.page-banner {
    background: linear-gradient(135deg, #9b1c1c 0%, #c81e1e 100%);
    color: var(--white);
    padding: 44px 0;
}
.breadcrumb {
    font-size: 0.86rem;
    margin-bottom: 10px;
    color: #fde68a;
}
.breadcrumb a {
    color: var(--white);
    text-decoration: underline;
}
.page-banner h1 {
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 10px;
}
.page-banner p {
    max-width: 780px;
    color: #fee2e2;
}

/* Table */
.table-wrap {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}
th, td {
    padding: 13px 15px;
    border: 1px solid var(--border);
    text-align: left;
    font-size: 0.95rem;
}
th {
    background: #fef2f2;
    color: #111827;
}

/* Footer */
.site-footer {
    background: #111827;
    color: #d1d5db;
    padding-top: 52px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 28px;
    padding-bottom: 40px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.footer-brand img {
    width: auto;
    min-width: 64px;
    max-width: 92px;
    height: 64px;
    object-fit: contain;
    background-color: var(--white);
    padding: 4px;
    border-radius: 10px;
    border: 2px solid var(--accent);
}
.footer-brand h3 {
    color: var(--white);
    font-size: 1.15rem;
}
.footer-brand p {
    font-size: 0.85rem;
    color: #fcd34d;
}
.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
}
.footer-col h4 {
    color: var(--white);
    margin-bottom: 14px;
    font-size: 1.05rem;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: #d1d5db;
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: #fcd34d;
}
.footer-contact {
    font-style: normal;
    font-size: 0.9rem;
}
.footer-contact p {
    margin-bottom: 10px;
}
.footer-contact a {
    color: #86efac;
    font-weight: 700;
}
.footer-bottom {
    border-top: 1px solid #374151;
    padding: 18px 0;
    text-align: center;
    font-size: 0.86rem;
    color: #9ca3af;
}

/* Floating WA */
.floating-wa {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--wa-green);
    color: var(--white) !important;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.35);
    z-index: 999;
    transition: transform 0.2s;
}
.floating-wa:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 960px) {
    .hero-grid,
    .grid-3,
    .grid-4,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.featured {
        transform: none;
    }
    .nav-toggle {
        display: block;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }
    .main-nav.open {
        display: flex;
    }
    .main-nav ul {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    .brand-logo img {
        min-width: 52px;
        max-width: 76px;
        height: 54px;
    }