:root {
    --purple: #6d3fc1;
    --purple-2: #8757d8;
    --purple-dark: #38206f;
    --lilac: #f4efff;
    --lilac-2: #ebe1ff;
    --ink: #29213d;
    --muted: #716a80;
    --line: #e9e2f4;
    --line-strong: #d9ccef;
    --white: #fff;
    --bg-page: #faf8ff;
    --brand-grad: linear-gradient(135deg, #5b31a8, #8c60d9);
    --shadow: 0 18px 50px rgba(76, 46, 132, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-soft: 24px;
    --radius-pill: 999px;
    --max: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--max), calc(100% - 40px));
    margin: auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: var(--radius-pill);
    background: var(--lilac);
    color: var(--purple);
    font-size: 12px;
    font-weight: 700;
}

.eyebrow:before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--purple);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(30px, 4.6vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 22px;
}

h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 16px;
}

h3 {
    line-height: 1.2;
}

.muted {
    color: var(--muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: var(--radius-md);
    font-weight: 700;
    transition: 0.2s ease;
    border: 1px solid transparent;
}

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

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--purple), var(--purple-2));
    box-shadow: 0 10px 25px rgba(109, 63, 193, 0.25);
}

.btn-secondary {
    color: var(--purple);
    background: #fff;
    border-color: var(--line-strong);
}

.btn-arrow:after {
    content: "→";
    font-size: 18px;
}

/* NAV */
.nav-wrap {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(233, 226, 244, 0.7);
}

nav {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--purple-dark);
}

.brand-mark {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    gap: 26px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}

.nav-links a:hover {
    color: var(--purple);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu {
    display: none;
    background: none;
    border: 0;
    font-size: 25px;
    color: var(--purple-dark);
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, #fbf9ff 100%);
}

.hero:before,
.hero:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    z-index: 0;
}

.hero:before {
    width: 420px;
    height: 420px;
    background: #f1eaff;
    right: -100px;
    top: -100px;
}

.hero:after {
    width: 260px;
    height: 260px;
    background: #f8f3ff;
    left: -120px;
    bottom: -90px;
}

.hero-grid {
    position: relative;
    z-index: 1;
    min-height: 650px;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 45px;
    padding: 70px 0 55px;
}

.hero-copy {
    max-width: 590px;
}

.hero-copy p {
    font-size: 17px;
    color: var(--muted);
    max-width: 550px;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.mini-points {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 34px;
    color: var(--muted);
    font-size: 14px;
}

.mini-point {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-point span {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: #f3edff;
    display: grid;
    place-items: center;
    color: var(--purple);
    font-weight: 800;
}

.hero-visual {
    position: relative;
    min-height: 470px;
    display: grid;
    place-items: center;
}

.hero-screen {
    width: min(680px, 100%);
    border-radius: var(--radius-soft);
    background: #fff;
    padding: 12px;
    box-shadow: var(--shadow);
    border: 1px solid #eee8f7;
    transform: rotate(-1deg);
}

.hero-screen img {
    border-radius: 17px;
    width: 100%;
    display: block;
}

section {
    padding: 92px 0;
}

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

.section-head p {
    color: var(--muted);
    font-size: 15px;
}

/* FEATURES */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius-soft);
    padding: 28px;
    background: #fff;
    box-shadow: 0 7px 25px rgba(70, 39, 119, 0.05);
    transition: 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-illu {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 0;
    padding-right: 54px;
}

.card-arrow {
    position: absolute;
    right: 26px;
    bottom: 26px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--lilac);
    color: var(--purple);
    display: grid;
    place-items: center;
    font-size: 17px;
    font-weight: 700;
    transition: 0.2s;
}

.card-arrow:hover {
    background: var(--purple);
    color: #fff;
}

/* ABOUT */
.about {
    background: linear-gradient(180deg, var(--bg-page), #fff);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.about-copy p {
    color: var(--muted);
}

.about-photo {
    border-radius: 30px;
    padding: 14px;
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.about-photo img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: auto;
    display: block;
}

/* PRODUCT */
.product {
    padding-top: 20px;
}

.product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 50px 0;
}

.product-row + .product-row {
    border-top: 1px solid var(--line);
}

.product-row.reverse .product-copy {
    order: 2;
}

.product-row.reverse .product-image {
    order: 1;
}

.product-image {
    border-radius: var(--radius-soft);
    background: #fff;
    border: 1px solid var(--line);
    padding: 18px;
    overflow: hidden;
}

.product-image img {
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(76, 46, 132, 0.12);
    width: 100%;
    height: auto;
    display: block;
}

.check-list {
    padding: 0;
    margin: 22px 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.check-list li {
    font-size: 14px;
    color: var(--muted);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.check-list li:before {
    content: "✓";
    width: 22px;
    height: 22px;
    flex: none;
    border-radius: var(--radius-sm);
    background: #eee5ff;
    color: var(--purple);
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
}

/* REVIEWS */
.reviews {
    background: var(--lilac);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.review {
    background: #fff;
    border: 1px solid #e7ddf6;
    border-radius: var(--radius-soft);
    padding: 25px;
    box-shadow: 0 8px 24px rgba(70, 39, 119, 0.05);
}

.quote {
    font-size: 32px;
    color: #b193e7;
    line-height: 1;
}

.review p {
    font-size: 14px;
    color: var(--muted);
}

.person {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: var(--lilac);
}

.person strong {
    display: block;
    font-size: 14px;
}

.person span {
    font-size: 14px;
    color: var(--muted);
}

.review-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 28px;
}

.review-dots i {
    width: 7px;
    height: 7px;
    border-radius: var(--radius-pill);
    background: #d7c8f0;
    display: block;
}

.review-dots i.active {
    background: var(--purple);
    width: 18px;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 34px;
    align-items: start;
}

details {
    border-bottom: 1px solid var(--line);
    padding: 19px 0;
}

summary {
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

summary::-webkit-details-marker {
    display: none;
}

summary:after {
    content: "+";
    color: var(--purple);
    font-size: 20px;
}

details[open] summary:after {
    content: "−";
}

details p {
    color: var(--muted);
    font-size: 14px;
    max-width: 720px;
    margin: 10px 0 0;
}

.faq-contact {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f8f3ff, #efe6ff);
    border: 1px solid #e7ddf6;
    border-radius: var(--radius-soft);
    padding: 30px 120px 30px 28px;
}

.faq-contact h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.faq-contact > p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 18px;
}

.faq-contact .btn {
    margin-bottom: 6px;
}

.contact-item {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    color: var(--muted);
    margin-top: 14px;
}

.contact-item .ci {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--purple);
    display: grid;
    place-items: center;
    flex: none;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(70, 39, 119, 0.08);
    font-size: 20px;
}

.faq-envelope {
    position: absolute;
    right: 14px;
    top: 42%;
    transform: translateY(-50%);
    width: 94px;
    pointer-events: none;
}

/* CTA */
.cta {
    padding: 30px 0 85px;
}

.cta-box {
    border-radius: 32px;
    padding: 58px 60px;
    background: var(--brand-grad);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 55px rgba(91, 49, 168, 0.22);
}

.cta-box:after {
    content: "";
    position: absolute;
    width: 310px;
    height: 310px;
    border: 55px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    right: -90px;
    top: -110px;
}

.cta-box h2 {
    margin-top: 10px;
    max-width: 650px;
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.cta-box p {
    color: #fff;
    max-width: 600px;
}

.cta-box .btn {
    background: #fff;
    color: var(--purple);
    margin-top: 12px;
}

footer {
    background: #28164e;
    color: #d8cff0;
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
}

footer .brand {
    color: #fff;
}

footer h4 {
    color: #fff;
    font-size: 14px;
    margin: 0 0 12px;
}

footer a,
footer p {
    font-size: 14px;
    color: #b9add0;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 35px;
    padding-top: 18px;
    font-size: 12px;
    color: #9d91b8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.copyright-social {
    display: flex;
    gap: 18px;
}

.copyright-social a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: inherit;
    transition: color 0.15s;
}

.copyright-social a:hover {
    color: #fff;
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .nav-actions .btn {
        display: none;
    }

    .menu {
        display: block;
    }

    .hero-grid,
    .about-grid,
    .product-row {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        padding-top: 55px;
    }

    .hero-visual {
        min-height: 390px;
    }

    .feature-grid,
    .review-grid {
        grid-template-columns: 1fr;
    }

    .product-row.reverse .product-copy,
    .product-row.reverse .product-image {
        order: initial;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(var(--max), calc(100% - 28px));
    }

    nav {
        height: 68px;
    }

    .brand-mark {
        height: 34px;
        width: auto;
    }

    .brand {
        font-size: 14px;
    }

    section {
        padding: 65px 0;
    }

    .hero-copy p {
        font-size: 15px;
    }

    .hero-grid {
        min-height: auto;
        gap: 30px;
        padding: 45px 0 38px;
    }

    .hero-visual {
        min-height: 280px;
    }

    .hero-screen {
        padding: 7px;
        border-radius: 17px;
    }

    .hero-screen img {
        border-radius: var(--radius-md);
    }

    .feature-card {
        padding: 23px;
    }

    .about-grid {
        gap: 28px;
    }

    .product-row {
        padding: 30px 0;
        gap: 28px;
    }

    .faq-contact {
        padding: 26px 26px 26px;
    }

    .faq-envelope {
        display: none;
    }

    .cta-box {
        padding: 40px 25px;
        border-radius: var(--radius-soft);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* ===== popup hubungi kami (CSS :target, tanpa JS) ===== */
.contact-pop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgb(41 33 61 / 0.55);
    padding: 20px;
    align-items: center;
    justify-content: center;
}

.contact-pop:target {
    display: flex;
}

.cp-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 26px 22px 20px;
    width: min(400px, 100%);
    box-shadow: 0 24px 60px rgb(41 33 61 / 0.28);
}

.cp-close {
    position: absolute;
    top: 22px;
    right: 18px;
    font-size: 26px;
    line-height: 1;
    color: var(--muted);
}

.cp-card h4 {
    margin: 0 0 6px;
    font-size: 18px;
}

.cp-card > p {
    margin: 0 0 14px;
    font-size: 13px;
    color: var(--muted);
}

.cp-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin-top: 10px;
    transition:
        border-color 0.15s,
        background 0.15s;
}

.cp-opt:hover {
    border-color: var(--purple);
    background: #f7f2ff;
}

.cp-ic {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: #f1e9fd;
    color: var(--purple);
    display: grid;
    place-items: center;
    font-size: 17px;
    flex-shrink: 0;
}

.cp-txt {
    flex: 1;
    font-size: 14px;
    color: var(--ink);
}

.cp-txt small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px;
}

.cp-go {
    color: var(--purple);
}

/* ===== footer link hover (Contact & Hubungi Kami kini link) ===== */
footer a:hover {
    color: #fff;
}

footer h4 a:hover {
    text-decoration: underline;
}

/* ===== hamburger menu (mobile) ===== */
.ico-close {
    display: none;
}

.nav-wrap.open .ico-menu {
    display: none;
}

.nav-wrap.open .ico-close {
    display: inline;
}

@media (max-width: 992px) {
    .nav-wrap.open .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 4px 20px 12px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 16px 30px rgb(41 33 61 / 0.12);
    }

    .nav-wrap.open .nav-links a {
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
    }

    .nav-wrap.open .nav-links a:last-child {
        border-bottom: 0;
    }
}

/* ===== halaman dokumen veteriner ===== */
.vet-main {
    max-width: 780px;
    padding-top: 70px;
    padding-bottom: 70px;
}

.vet-main .eyebrow {
    display: inline-block;
    margin-bottom: 10px;
}

.vet-main h1 {
    font-size: clamp(30px, 5vw, 44px);
    font-weight: 800;
    color: var(--purple-dark);
    margin: 0 0 12px;
}

.vet-lead {
    color: var(--muted);
    margin: 0 0 26px;
}

.vet-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 8px 8px 8px 16px;
    box-shadow: 0 12px 30px rgb(41 33 61 / 0.08);
}

.vet-search > i {
    color: var(--muted);
}

.vet-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    padding: 10px 0;
}

.vet-count {
    font-size: 13px;
    color: var(--muted);
    margin: 18px 0 10px;
}

.vet-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vet-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    transition:
        border-color 0.15s,
        box-shadow 0.15s,
        transform 0.15s;
}

.vet-item:hover {
    border-color: var(--purple);
    box-shadow: 0 10px 24px rgb(41 33 61 / 0.1);
    transform: translateY(-1px);
}

.vi-ic {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f1ebfc;
    color: var(--purple);
    font-size: 19px;
}

.vi-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.vi-body strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
}

.vi-body small {
    font-size: 12px;
    color: var(--muted);
}

.vi-go {
    color: var(--muted);
    font-size: 16px;
}

.vet-item:hover .vi-go {
    color: var(--purple);
}

.vet-empty {
    border: 1px dashed var(--line);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.vet-footer {
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    padding: 26px 20px;
}

.contact-item:hover {
    color: var(--purple);
}
