:root {
    --green-dark: #1B5E20;
    --green-deep: #124018;
    --green-leaf: #4CAF50;
    --green-soft: #E8F3E9;
    --brown: #6B3A1E;
    --brown-light: #8B5535;
    --cream: #F5EFE0;
    --cream-dark: #EBE2CE;

    --text: #22281F;
    --text-muted: #5C6659;
    --white: #FFFFFF;
    --border: #E2E0D5;

    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 4px 18px rgba(27, 94, 32, 0.08);
    --shadow-hover: 0 14px 34px rgba(27, 94, 32, 0.16);
    --transition: 0.3s ease;

    --header-height: 76px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn--primary {
    background-color: var(--green-leaf);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(76, 175, 80, 0.35);
}

.btn--primary:hover {
    background-color: var(--green-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(27, 94, 32, 0.4);
}

.btn--outline {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
}

.btn--outline:hover {
    background-color: var(--white);
    color: var(--green-dark);
    transform: translateY(-3px);
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: var(--transition);
}

.navbar--scrolled {
    height: 66px;
    border-bottom-color: var(--border);
    box-shadow: var(--shadow);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar__logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    transition: var(--transition);
}

.navbar--scrolled .navbar__logo {
    width: 40px;
    height: 40px;
}

.navbar__name {
    display: flex;
    flex-direction: column;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--green-dark);
    line-height: 1.2;
}

.navbar__name small {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar__link {
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
}

.navbar__link:hover {
    background-color: var(--green-soft);
    color: var(--green-dark);
}

.navbar__link--cta {
    background-color: var(--green-dark);
    color: var(--white);
    margin-left: 8px;
}

.navbar__link--cta:hover {
    background-color: var(--green-leaf);
    color: var(--white);
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.navbar__toggle span {
    display: block;
    height: 2.5px;
    width: 100%;
    background-color: var(--green-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.navbar__toggle--active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.navbar__toggle--active span:nth-child(2) {
    opacity: 0;
}

.navbar__toggle--active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 50px) 0 80px;
    background-color: var(--green-deep);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: -40px;
    background-image: url('../assets/bg-peternakan.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px);
    pointer-events: none;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 18% 22%, rgba(76, 175, 80, 0.25) 0%, transparent 45%),
        radial-gradient(circle at 82% 78%, rgba(245, 239, 224, 0.12) 0%, transparent 42%),
        linear-gradient(135deg, rgba(18, 64, 24, 0.82) 0%, rgba(27, 94, 32, 0.7) 50%, rgba(107, 58, 30, 0.75) 100%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    text-align: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__title {
    font-size: clamp(2rem, 5.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero__text {
    max-width: 640px;
    font-size: clamp(0.98rem, 1.6vw, 1.1rem);
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 36px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 720px;
}

.hero__stat {
    flex: 1 1 180px;
    padding: 22px 16px;
    border-radius: var(--radius);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
}

.hero__stat strong {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--cream);
    line-height: 1.2;
}

.hero__stat span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}
.section {
    padding: 100px 0;
}

.section--alt {
    background-color: var(--cream);
}

.section__head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.section__tag {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    background-color: var(--green-soft);
    color: var(--green-dark);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section--alt .section__tag {
    background-color: var(--white);
}

.section__title {
    font-size: clamp(1.6rem, 3.6vw, 2.4rem);
    font-weight: 800;
    color: var(--green-dark);
    line-height: 1.3;
    margin-bottom: 15px;
}

.section__subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}
.grid {
    display: grid;
    gap: 24px;
}

.grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.about__content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.about__content p {
    color: var(--text-muted);
    margin-bottom: 16px;
}
.service-card {
    padding: 34px 28px;
    border-radius: var(--radius-lg);
    background-color: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--green-leaf);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.93rem;
    color: var(--text-muted);
}
.feature {
    padding: 28px 24px;
    border-radius: var(--radius);
    background-color: var(--white);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature:hover {
    background-color: var(--green-dark);
    border-color: var(--green-dark);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.feature h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 8px;
    transition: var(--transition);
}

.feature p {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.feature:hover h3 {
    color: var(--white);
}

.feature:hover p {
    color: rgba(255, 255, 255, 0.82);
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery__item {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius);
    background-color: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.gallery__item:hover {
    transform: scale(1.03);
    border-color: var(--green-leaf);
    box-shadow: var(--shadow-hover);
}
.contact {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.contact__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-content: start;
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    border-radius: var(--radius);
    background-color: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact__item:hover {
    transform: translateX(6px);
    border-color: var(--green-leaf);
    box-shadow: var(--shadow-hover);
}

.contact__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: var(--green-soft);
    color: var(--green-dark);
    transition: var(--transition);
}

.contact__icon svg {
    width: 24px;
    height: 24px;
}

.contact__item:hover .contact__icon {
    background-color: var(--green-leaf);
    color: var(--white);
}

.contact__item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 4px;
}

.contact__item p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.contact__map {
    min-height: 440px;
    height: 100%;
}

.contact__map iframe {
    width: 100%;
    height: 100%;
    min-height: 440px;
    border: 0;
    border-radius: var(--radius);
}
.footer {
    background-color: var(--green-deep);
    color: rgba(255, 255, 255, 0.75);
    padding-top: 64px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer__brand {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.footer__logo {
    width: 62px;
    height: 62px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer__brand h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.footer__brand p {
    font-size: 0.9rem;
    max-width: 320px;
}

.footer__address {
    display: block;
    margin-top: 24px;
    font-size: 0.86rem;
    line-height: 1.6;
    transition: var(--transition);
}

.footer__address:hover {
    color: var(--green-leaf);
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.footer__col a,
.footer__col p {
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer__col a:hover {
    color: var(--green-leaf);
    padding-left: 5px;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 22px 0;
}

.footer__bottom p {
    text-align: center;
    font-size: 0.85rem;
}
.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #25D366;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: var(--transition);
}

.wa-float svg {
    width: 28px;
    height: 28px;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
@media (max-width: 992px) {
    .contact {
        grid-template-columns: 1fr;
    }

    .contact__map,
    .contact__map iframe {
        min-height: 340px;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }
}
@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__name small {
        display: none;
    }

    .navbar__menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px 20px 26px;
        background-color: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
        transform: translateY(-16px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                    opacity 0.25s ease,
                    visibility 0s linear 0.4s;
    }

    .navbar__menu--open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                    opacity 0.3s ease,
                    visibility 0s;
    }

    .navbar__link {
        padding: 13px 16px;
        text-align: center;
    }

    .navbar__link--cta {
        margin-left: 0;
        margin-top: 6px;
    }

    .contact__list {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + 60px) 0 70px;
    }

    .hero__actions {
        margin-bottom: 44px;
    }

    .hero__actions .btn {
        flex: 1 1 100%;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer__brand {
        flex-direction: column;
    }
    .footer__address br {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero__stat {
        flex: 1 1 100%;
    }

    .service-card,
    .contact__item {
        padding: 24px 20px;
    }

    .wa-float {
        width: 50px;
        height: 50px;
        right: 16px;
        bottom: 16px;
    }

    .wa-float svg {
        width: 25px;
        height: 25px;
    }
}
