:root {
    --bg: #ffffff;
    --bg-slate: #f3f6fa;
    --cobalt: #0f294a;
    --cobalt-mid: #173b69;
    --amber: #d97706;
    --amber-bright: #f59e0b;
    --wa: #25d366;
    --wa-dark: #128c7e;
    --text: #121c2b;
    --text-muted: #4b5c73;
    --border: #dce3ed;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Syne', sans-serif;
    letter-spacing: -0.01em;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 78px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--cobalt);
}

.brand-chip {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--cobalt), var(--amber));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.brand-text strong {
    display: block;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    line-height: 1.15;
}

.brand-text small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.61rem;
    color: var(--amber);
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 9px 18px;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.nav-link:hover {
    color: var(--cobalt);
    background: var(--bg-slate);
}

.nav-link.active {
    background: var(--cobalt);
    color: #ffffff;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--cobalt);
}

/* Sections */
.section {
    padding: 94px 0;
}

.bg-slate-light {
    background-color: var(--bg-slate);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.bg-cobalt {
    background-color: var(--cobalt);
}

.text-white {
    color: #f8fafc;
}

.sec-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 52px;
}

.sec-kicker {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--amber);
    margin-bottom: 10px;
}

.sec-kicker.light {
    color: #fcd34d;
}

.sec-head h2 {
    font-size: 2.25rem;
    line-height: 1.18;
    margin-bottom: 12px;
}

.sec-head p {
    color: var(--text-muted);
}

.bg-cobalt .sec-head p {
    color: #cbd5e1;
}

/* =========================================================
   MENU 1: HOME
   ========================================================= */
.hero-elec {
    padding: 132px 0 84px;
    background: radial-gradient(circle at top left, #e8eff8 0%, #ffffff 58%);
}

.hero-asymmetric {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 56px;
}

.pt-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fef3c7;
    border: 1px solid #fde68a;
    color: #92400e;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.71rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.live-led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--amber);
}

.hero-main h1 {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 18px;
    color: var(--cobalt);
}

.amber-accent {
    color: var(--amber);
}

.hero-desc {
    font-size: 1.02rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.94rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-amber {
    background: linear-gradient(135deg, var(--amber), var(--amber-bright));
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(217, 119, 6, 0.3);
}

.btn-ghost {
    background: var(--bg-slate);
    border: 1.5px solid var(--border);
    color: var(--cobalt);
}

.full-width {
    width: 100%;
}

/* Social Bar */
.soc-bar {
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.soc-head {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.soc-group {
    display: flex;
    gap: 10px;
}

.soc-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-slate);
    border: 1px solid var(--border);
    color: var(--cobalt);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.soc-btn:hover {
    background: var(--cobalt);
    color: #ffffff;
    border-color: var(--cobalt);
    transform: translateY(-3px);
}

/* Plant Card */
.plant-card {
    border-radius: 22px;
    overflow: hidden;
    border: 1.5px solid var(--border);
    box-shadow: 0 24px 48px rgba(15, 41, 74, 0.12);
    background: #ffffff;
}

.plant-card > img {
    width: 100%;
    height: 315px;
    object-fit: cover;
    display: block;
}

.plant-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #ffffff;
}

.pt-monogram {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    background: var(--cobalt);
    color: #fcd34d;
    font-family: 'Syne', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mono-amber {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--amber);
    margin-bottom: 2px;
}

.plant-footer h3 {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.plant-footer p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Spec Strip */
.spec-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ss-item {
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 18px;
    padding: 24px 20px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.ss-item:hover {
    transform: translateY(-4px);
    border-color: var(--amber);
}

.ss-val {
    display: block;
    font-family: 'Syne', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--cobalt);
    line-height: 1.1;
    margin-bottom: 6px;
}

.ss-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.ss-item p {
    font-size: 0.84rem;
    color: var(--text-muted);
}

/* =========================================================
   MENU 2: TENTANG (PROFIL + 2x2 GRID + FAQ ACCORDION)
   ========================================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    line-height: 1.18;
    margin-bottom: 16px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.pt-legal-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    background: var(--bg-slate);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    margin-top: 22px;
}

.pt-legal-table small {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--amber);
    margin-bottom: 2px;
}

.pt-legal-table strong {
    font-size: 0.87rem;
    color: var(--cobalt);
}

.about-photos {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ap-main,
.ap-row div {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid var(--border);
}

.ap-main {
    height: 245px;
}

.ap-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ap-row div {
    height: 175px;
}

.about-photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.ap-main:hover img,
.ap-row div:hover img {
    transform: scale(1.06);
}

.about-photos span {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(transparent, rgba(15, 41, 74, 0.92));
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 16px 12px 9px;
}

/* 2x2 Grid */
.elec-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.el-card {
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 28px 26px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.el-card:hover {
    transform: translateY(-4px);
    border-color: var(--amber);
}

.el-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.el-code {
    background: var(--cobalt);
    color: #fcd34d;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

.el-spec {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--amber);
}

.el-card h3 {
    font-size: 1.35rem;
    line-height: 1.22;
    margin-bottom: 10px;
}

.el-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* FAQ Accordion */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-slate);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--cobalt);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-plus {
    font-size: 1.4rem;
    color: var(--amber);
    font-weight: 700;
}

.faq-a {
    display: none;
    padding: 0 24px 20px;
}

.faq-item.open .faq-a {
    display: block;
}

.faq-a p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* =========================================================
   MENU 3: LAYANAN & KALKULATOR
   ========================================================= */
.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.ft-btn {
    background: #ffffff;
    border: 1.5px solid var(--border);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ft-btn:hover,
.ft-btn.active {
    background: var(--cobalt);
    color: #ffffff;
    border-color: var(--cobalt);
}

.srv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 48px;
}

.srv-card {
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.srv-card.hide {
    display: none;
}

.srv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(15, 41, 74, 0.1);
}

.srv-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.srv-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.srv-card:hover .srv-img img {
    transform: scale(1.06);
}

.srv-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--cobalt);
    color: #fcd34d;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;
}

.srv-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.srv-body h3 {
    font-size: 1.28rem;
    line-height: 1.22;
    margin-bottom: 10px;
}

.srv-body p {
    font-size: 0.91rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    flex-grow: 1;
}

.btn-detail {
    align-self: flex-start;
    background: none;
    border: none;
    color: var(--amber);
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-detail:hover {
    text-decoration: underline;
}

/* Elec Calculator */
.elec-calc-box {
    background: linear-gradient(135deg, var(--cobalt), var(--cobalt-mid));
    color: #ffffff;
    border-radius: 22px;
    padding: 38px;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 36px;
    align-items: center;
}

.ec-left h3 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.ec-left p {
    color: #cbd5e1;
    font-size: 0.94rem;
}

.ec-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
}

.ec-inputs label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #fcd34d;
}

.ec-inputs input,
.ec-inputs select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
}

.ec-inputs select option {
    color: var(--cobalt);
}

.ec-outputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    background: rgba(0, 0, 0, 0.28);
    border-radius: 14px;
    padding: 16px 20px;
}

.ec-outputs small {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: #fcd34d;
    margin-bottom: 4px;
}

.ec-outputs strong {
    font-size: 1.3rem;
    color: #ffffff;
}

/* =========================================================
   MENU 4: KONTAK + GOOGLE MAPS + SOSMED
   ========================================================= */
.contact-layout {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 36px;
    align-items: start;
}

.plant-map-card {
    background: var(--cobalt-mid);
    border: 1px solid rgba(252, 211, 77, 0.25);
    border-radius: 22px;
    overflow: hidden;
}

.pm-pad {
    padding: 28px;
}

.pm-pad h3 {
    font-size: 1.45rem;
    margin-bottom: 8px;
}

.pm-addr {
    color: #e2e8f0;
    font-size: 0.94rem;
    margin-bottom: 22px;
}

.pm-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pm-meta small {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: #fcd34d;
    margin-bottom: 4px;
}

.pm-meta strong {
    font-size: 0.9rem;
}

.pm-socials {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.pm-socials a {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.pm-socials a:hover {
    background: var(--amber);
    transform: translateY(-2px);
}

.pm-map iframe {
    display: block;
    width: 100%;
    height: 250px;
}

.btn-map-ext {
    display: block;
    text-align: center;
    background: #08182d;
    color: #fcd34d;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 12px;
    transition: background 0.2s ease;
}

.btn-map-ext:hover {
    background: var(--amber);
    color: #ffffff;
}

/* Form Kontak */
.elec-form {
    background: #ffffff;
    color: var(--text);
    border-radius: 22px;
    padding: 32px;
}

.elec-form h3 {
    font-size: 1.42rem;
    margin-bottom: 18px;
}

.ef-group {
    margin-bottom: 15px;
}

.ef-group label {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.ef-group input,
.ef-group select,
.ef-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.93rem;
}

.ef-group input:focus,
.ef-group select:focus,
.ef-group textarea:focus {
    outline: none;
    border-color: var(--amber);
}

.ef-msg {
    margin-top: 12px;
    text-align: center;
    font-weight: 700;
    color: #15803d;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #08182d;
    color: #94a3b8;
    padding: 26px 0;
    font-size: 0.88rem;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.back-top {
    color: #fcd34d !important;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 41, 74, 0.78);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 2000;
}

.modal-backdrop.open {
    display: flex;
}

.modal-card {
    background: #ffffff;
    max-width: 500px;
    width: 100%;
    border-radius: 20px;
    padding: 32px;
    position: relative;
}

.modal-x {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: var(--bg-slate);
    font-weight: 800;
    cursor: pointer;
}

.modal-card h3 {
    font-size: 1.42rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.info-pill {
    display: inline-block;
    background: #ecfdf5;
    color: #065f46;
    font-weight: 800;
    font-size: 0.84rem;
    padding: 6px 12px;
    border-radius: 8px;
    margin-bottom: 14px;
}

.modal-card p {
    color: var(--text-muted);
    margin-bottom: 22px;
}

.modal-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-wa-modal {
    background: #ecfdf5;
    border: 1.5px solid var(--wa);
    color: #065f46;
}

/* Floating WhatsApp Button di Pojok Kanan Bawah */
.floating-wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--wa), var(--wa-dark));
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.94rem;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.42);
    z-index: 1500;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-wa:hover {
    transform: translateY(-4px) scale(1.03);
}

.wa-pulse {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 2px solid var(--wa);
    animation: waRipple 2s infinite;
    pointer-events: none;
}

@keyframes waRipple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.22); opacity: 0; }
}

/* Reveal */
.reveal-up {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
    .hero-asymmetric,
    .about-grid,
    .elec-calc-box,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .spec-strip,
    .elec-grid-2x2,
    .srv-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 1px solid var(--border);
        display: none;
    }

    .nav-links.open {
        display: flex;
    }

    .hero-main h1 {
        font-size: 2.05rem;
    }

    .pt-legal-table,
    .ap-row,
    .ec-inputs,
    .ec-outputs,
    .pm-meta {
        grid-template-columns: 1fr;
    }

    .footer-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .floating-wa {
        bottom: 16px;
        right: 16px;
        padding: 12px 16px;
    }
}
