:root {
    --green-main: #05a357;   /* hijau utama ala landing rumah */
    --green-dark: #015435;   /* hijau gelap gradasi */
    --orange-accent: #ff7e2f;
    --red-cta: #ff4b4b;
    --bg-light: #f5f7f5;
    --bg-dark: #111416;
    --text-main: #1b1b1b;
    --text-muted: #6b6b6b;
    --border-soft: #d4dfd4;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.12);
    --max-width: 1120px;
    --transition-fast: 0.25s ease;
}

/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    background: #ffffff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* LAYOUT */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding: 3.5rem 0;
}

.section-alt {
    background: var(--bg-light);
    padding: 3.5rem 0;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 620px;
    margin-top: 0.25rem;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 25, 19, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.logo-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, var(--green-main), var(--green-dark));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.nav a {
    color: rgba(255, 255, 255, 0.86);
    position: relative;
    padding-bottom: 2px;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--green-main);
    transition: width var(--transition-fast);
}

.nav a:hover::after {
    width: 100%;
}

.nav-whatsapp {
    display: none;
}

/* NAV TOGGLE */
.nav-toggle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}
.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* NAV MOBILE DROPDOWN */
.nav-mobile {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    inset: 64px 0 auto 0;
    background: #151b16;
    padding: 0.75rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-mobile a {
    padding: 0.4rem 0;
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.08) 0, transparent 45%),
        linear-gradient(120deg, var(--green-dark) 0%, var(--green-main) 55%, #08c06a 100%);
    color: #ffffff;
    padding: 3.5rem 0 3rem;
}

/* dekor titik ala landing page */
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.3) 2px, transparent 2px);
    background-size: 16px 16px;
    opacity: 0.25;
    pointer-events: none;
}

.hero::before {
    left: -60px;
    bottom: -40px;
}

.hero::after {
    right: -80px;
    top: 40px;
}

.hero-inner {
    display: grid;
    gap: 2.25rem;
}

.hero-tagline {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
}

.hero h1 {
    font-size: 2.1rem;
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.hero h1 span {
    color: #ffffff;
}

.hero-subtitle {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 460px;
    margin-bottom: 1rem;
}

.hero-list {
    margin-bottom: 1.1rem;
}

.hero-list li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.hero-list li::before {
    content: "•";
    color: #bdf8cf;
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.hero-badges span {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.25rem 0.6rem;
    background: rgba(0, 0, 0, 0.16);
}

/* HERO IMAGE */
.hero-image {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-photo {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.26);
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.1)),
        linear-gradient(135deg, #0f1f1a, #1c4f34);
    min-height: 180px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-photo:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.55);
}

.hero-photo-label {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.55rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast), border var(--transition-fast);
}

.btn-primary {
    background: var(--red-cta);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(255, 75, 75, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(255, 75, 75, 0.45);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* GRID UTILS */
.grid-2 {
    display: grid;
    gap: 1.75rem;
}

/* ABOUT */
.about-box {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    padding: 1.5rem 1.4rem;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.about-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green-dark);
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-footnote {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.checklist {
    margin-top: 0.75rem;
}

.checklist li {
    font-size: 0.9rem;
    display: flex;
    gap: 0.4rem;
    align-items: flex-start;
}

.checklist li::before {
    content: "▸";
    color: var(--green-dark);
    margin-top: 0.1rem;
}

/* SERVICES */
.services-grid {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.service-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    padding: 1.25rem 1.2rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.service-card h3 {
    margin-bottom: 0.4rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.service-card ul {
    font-size: 0.85rem;
    color: var(--text-main);
}

.service-card ul li::before {
    content: "• ";
    color: var(--green-dark);
}

/* WHY */
.why-grid {
    display: grid;
    gap: 1.2rem;
    margin-top: 1.75rem;
}

.why-card {
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-soft);
    padding: 1.1rem 1rem;
    background: #ffffff;
}

/* PROCESS */
.process-steps {
    display: grid;
    gap: 1.3rem;
    margin-top: 1.75rem;
}

.step {
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid var(--border-soft);
    padding: 1rem 1rem 0.9rem;
    position: relative;
    padding-left: 3.3rem;
}

.step-number {
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--green-main);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
}

/* PORTFOLIO */
.portfolio-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.75rem;
}

.portfolio-item {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    padding: 1.25rem 1.2rem;
}

.portfolio-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-bottom: 0.7rem;
}

.portfolio-item h3 {
    margin-bottom: 0.2rem;
}

.portfolio-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.img {
    border-radius: 12px;
    padding: 1.5rem 0.4rem;
    text-align: center;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.img.before {
    background: repeating-linear-gradient(
        135deg,
        #cfd8dc,
        #cfd8dc 8px,
        #b0bec5 8px,
        #b0bec5 16px
    );
    color: #263238;
}

.img.after {
    background: linear-gradient(135deg, var(--green-main), var(--green-dark));
    color: #ffffff;
}

/* TESTIMONI */
.testi-grid {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.testi-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    padding: 1.2rem 1.15rem;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    font-size: 0.9rem;
}

.testi-name {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* CONTACT */
.contact-grid {
    display: grid;
    gap: 1.75rem;
}

.contact-list {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.contact-list li + li {
    margin-top: 0.25rem;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.map-box {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    background: #ffffff;
    padding: 1rem;
    box-shadow: var(--shadow-soft);
}

.map-placeholder {
    border-radius: 12px;
    background: repeating-linear-gradient(
        -45deg,
        #e0e0e0,
        #e0e0e0 8px,
        #f5f5f5 8px,
        #f5f5f5 16px
    );
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #616161;
}

.map-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* FOOTER */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.78);
    padding: 1.25rem 0 1.6rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.83rem;
}

.footer-note {
    color: rgba(255, 255, 255, 0.6);
}

/* STICKY WA */
.wa-float {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 60;
    background: var(--green-main);
    color: #ffffff;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

/* CARD HOVER */
.card-hover {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
    border-color: rgba(5, 163, 87, 0.7);
    background-color: #f8fff9;
}

/* SCROLL REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(-32px);
}

.reveal-right {
    transform: translateX(32px);
}

.reveal-left.in-view,
.reveal-right.in-view {
    transform: translateX(0);
}

/* BREAKPOINTS */

/* >= 640px */
@media (min-width: 640px) {
    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-photo {
        min-height: 220px;
    }

    .services-grid,
    .why-grid,
    .testi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* >= 768px */
@media (min-width: 768px) {
    .nav {
        display: flex;
    }

    .nav-toggle {
        display: none;
    }

    .nav-whatsapp {
        display: inline-flex;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        align-items: center;
        gap: 2.5rem;
    }

    .grid-2 {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        align-items: flex-start;
    }

    .process-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        align-items: flex-start;
    }
}

/* >= 1024px */
@media (min-width: 1024px) {
    .hero {
        padding: 4rem 0 3.5rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-photo {
        min-height: 260px;
    }
}

