:root {
    --pink: #FF7BAC;
    --pink-deep: #F0558A;
    --pink-light: #FFE4EF;
    --pink-pale: #FFF5F9;
    --yellow: #FFD166;
    --mint: #06D6A0;
    --mint-light: #DFFBF4;
    --purple: #9B72CF;
    --purple-light: #F0E8FF;
    --sky: #74C7EC;
    --sky-light: #E3F4FC;
    --dark: #2D1B2E;
    --mid: #6B4C6E;
    --muted: #A08AA3;
    --white: #FFFFFF;
    --bg: #FFF8FB;
    --r-xl: 28px;
    --r-lg: 20px;
    --r-md: 14px;
    --r-pill: 999px;
}

* {
    box-sizing: border-box;
}

body {    background-color: #FFF8FB !important;    background-image:            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Ctext y='50' x='15' font-size='32' opacity='0.06'%3E🐾%3C/text%3E%3C/svg%3E"),            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Ctext y='50' x='15' font-size='32' opacity='0.06'%3E🐾%3C/text%3E%3C/svg%3E") !important;    background-position: 0px 0px, 150px 150px !important;    background-size: 300px 300px !important;    background-repeat: repeat !important;    font-family: 'Nunito', 'Sora', sans-serif;    color: #2D1B2E;    overflow-x: hidden;}
a {
    text-decoration: none;
    color: inherit;
}

/* Floating background shapes */
.shape {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: floatShape 8s ease-in-out infinite;
}

.s1 { width: 180px; height: 180px; background: radial-gradient(circle, rgba(255, 123, 172, 0.18), transparent 70%); top: 8%; left: 3%; }
.s2 { width: 120px; height: 120px; background: radial-gradient(circle, rgba(255, 209, 102, 0.2), transparent 70%); top: 30%; right: 5%; animation-delay: -3s; }
.s3 { width: 200px; height: 200px; background: radial-gradient(circle, rgba(6, 214, 160, 0.12), transparent 70%); bottom: 20%; left: 8%; animation-delay: -5s; }
.s4 { width: 100px; height: 100px; background: radial-gradient(circle, rgba(155, 114, 207, 0.15), transparent 70%); bottom: 35%; right: 3%; animation-delay: -1s; }

@keyframes floatShape {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-24px); }
}

.main-home {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin: 0 auto;
}

/* HERO */
.hero {
    position: relative;
    z-index: 1;
    padding: 64px 48px 56px;
    display: grid;
    grid-template-columns: 1.1fr minmax(340px, 460px);
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pink-light);
    color: var(--pink-deep);
    padding: 8px 20px;
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 28px;
    border: 1.5px solid rgba(255, 123, 172, 0.25);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 0 rgba(6, 214, 160, 0.4);
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(6, 214, 160, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(6, 214, 160, 0); }
    100% { box-shadow: 0 0 0 0 rgba(6, 214, 160, 0); }
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin: 0 0 24px;
}

.hero-title .line-color { color: var(--pink); }
.hero-title .line-italic { font-style: italic; color: var(--purple); }

.hero-desc {
    font-size: 16px;
    color: var(--mid);
    line-height: 1.75;
    max-width: 460px;
    margin: 0 0 36px;
    font-weight: 600;
}

.hero-btns {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 32px;
    border-radius: var(--r-pill);
    background: linear-gradient(135deg, var(--pink), var(--pink-deep));
    color: #ffffff;
    font-weight: 900;
    font-size: 15px;
    box-shadow: 0 8px 28px rgba(255, 85, 138, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(255, 85, 138, 0.45);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 15px 26px;
    border-radius: var(--r-pill);
    background: #ffffff;
    color: var(--dark);
    font-weight: 800;
    font-size: 15px;
    border: 2px solid rgba(45, 27, 46, 0.1);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.btn-secondary:hover {
    border-color: var(--pink-light);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.hero-trust {
    display: flex;
    gap: 20px;
    margin-top: 36px;
    align-items: center;
}

.trust-avatars { display: flex; }

.trust-avatars span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2.5px solid #ffffff;
    background: var(--pink-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-left: -10px;
}

.trust-avatars span:first-child { margin-left: 0; }

.trust-text {
    font-size: 13px;
    color: var(--muted);
    font-weight: 700;
    line-height: 1.4;
}

.trust-text strong { color: var(--dark); }

/* HERO VISUAL */
.hero-right {
    position: relative;
}

.hero-main-card {
    background: #ffffff;
    border-radius: var(--r-xl);
    padding: 32px 28px;
    position: relative;
    z-index: 2;
    box-shadow: 0 24px 60px rgba(45, 27, 46, 0.12), 0 0 0 1px rgba(255, 123, 172, 0.08);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.card-title { font-size: 15px; font-weight: 900; }

.card-badge {
    background: var(--mint-light);
    color: var(--mint);
    padding: 4px 12px;
    border-radius: var(--r-pill);
    font-size: 12px;
    font-weight: 800;
    border: 1px solid rgba(6, 214, 160, 0.2);
}

.pet-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--pink-pale);
    border-radius: var(--r-lg);
}

.pet-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--pink-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}

.pet-info h3 { margin: 0 0 4px; font-size: 16px; font-weight: 900; }
.pet-info p { margin: 0; font-size: 12.5px; color: var(--muted); font-weight: 600; }

.pet-tags {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.pet-tag {
    background: #ffffff;
    border: 1.5px solid var(--pink-light);
    color: var(--pink);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--r-pill);
}

.appt-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.appt-cell {
    background: var(--bg);
    border-radius: var(--r-md);
    padding: 12px 14px;
}

.appt-cell .label {
    font-size: 10.5px;
    color: var(--muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.appt-cell .val { font-size: 14px; font-weight: 900; color: var(--dark); }

.progress-wrap { margin-bottom: 4px; }

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 800;
}

.progress-score { color: var(--pink); }

.progress-bar {
    height: 10px;
    background: var(--pink-light);
    border-radius: var(--r-pill);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 70%;
    background: linear-gradient(90deg, var(--pink), var(--pink-deep));
    border-radius: var(--r-pill);
}

/* Floating mini cards */
.float-card {
    position: absolute;
    background: #ffffff;
    border-radius: var(--r-lg);
    padding: 13px 17px;
    box-shadow: 0 12px 32px rgba(45, 27, 46, 0.12);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.fc1 { top: -16px; right: -16px; animation-delay: 0s; }
.fc2 { bottom: 56px; left: -24px; animation-delay: -2s; }
.fc3 { bottom: -16px; right: 24px; animation-delay: -1s; }

.fc-icon { font-size: 22px; }
.fc-text .fc-t { font-size: 12px; font-weight: 900; color: var(--dark); }
.fc-text .fc-s { font-size: 11px; color: var(--muted); font-weight: 700; }

/* STATS STRIP */
.stats-strip {
    position: relative;
    z-index: 1;
    display: flex;
    background: var(--dark);
    border-radius: var(--r-xl);
    margin: 0 48px 72px;
    overflow: hidden;
}

.stat-item {
    flex: 1;
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    transition: background 0.2s;
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255, 123, 172, 0.08); }

.stat-num { font-size: 32px; font-weight: 900; color: #ffffff; margin-bottom: 4px; }
.stat-unit { color: var(--pink); }
.stat-label { font-size: 12.5px; color: rgba(255, 255, 255, 0.45); font-weight: 700; }

/* SERVICES */
.services-section {
    position: relative;
    z-index: 1;
    padding: 0 48px 72px;
}

.sec-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pink);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sec-title {
    font-size: 32px;
    font-weight: 900;
    margin: 0 0 8px;
    letter-spacing: -1px;
}

.sec-sub {
    font-size: 15px;
    color: var(--muted);
    font-weight: 700;
    margin: 0 0 40px;
}

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

.svc {
    display: block;
    background: #ffffff;
    border-radius: var(--r-xl);
    padding: 30px 24px;
    box-shadow: 0 4px 20px rgba(45, 27, 46, 0.06);
    border: 1.5px solid transparent;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    position: relative;
    overflow: hidden;
}

.svc:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(45, 27, 46, 0.1);
}

.svc.c-pink:hover { border-color: rgba(255, 123, 172, 0.3); }
.svc.c-mint:hover { border-color: rgba(6, 214, 160, 0.3); }
.svc.c-yellow:hover { border-color: rgba(255, 209, 102, 0.4); }
.svc.c-purple:hover { border-color: rgba(155, 114, 207, 0.3); }
.svc.c-sky:hover { border-color: rgba(116, 199, 236, 0.3); }

.svc-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 16px;
    transition: transform 0.25s;
}

.svc:hover .svc-icon-wrap { transform: scale(1.08) rotate(-4deg); }

.ic-pink { background: var(--pink-light); }
.ic-mint { background: var(--mint-light); }
.ic-yellow { background: rgba(255, 209, 102, 0.25); }
.ic-purple { background: var(--purple-light); }
.ic-sky { background: var(--sky-light); }

.svc h3 { font-size: 16px; font-weight: 900; margin: 0 0 8px; }
.svc p { font-size: 13px; color: var(--muted); line-height: 1.6; font-weight: 700; margin: 0; }

.svc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
}

.svc-chip { font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: var(--r-pill); }
.chip-pink { background: var(--pink-light); color: var(--pink-deep); }
.chip-mint { background: var(--mint-light); color: var(--mint); }
.chip-yellow { background: rgba(255, 209, 102, 0.25); color: #A07800; }
.chip-purple { background: var(--purple-light); color: var(--purple); }
.chip-sky { background: var(--sky-light); color: #2B7FAB; }

.svc-arrow { font-size: 17px; color: var(--muted); transition: transform 0.2s, color 0.2s; }
.svc:hover .svc-arrow { transform: translateX(4px); color: var(--pink); }

/* REVIEWS */
.review-section {
    background: var(--dark);
    padding: 64px 48px;
    margin: 0 0 72px;
    position: relative;
    z-index: 1;
}

.sec-eyebrow-light { color: var(--pink); }
.sec-title-light { color: #ffffff; }
.sec-sub-light { color: rgba(255, 255, 255, 0.5); }

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

.review-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-xl);
    padding: 26px 22px;
    transition: background 0.2s;
}

.review-card:hover { background: rgba(255, 255, 255, 0.09); }

.stars { color: var(--yellow); font-size: 15px; margin-bottom: 12px; letter-spacing: 2px; }

.review-text {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    font-weight: 600;
    margin: 0 0 20px;
}

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

.reviewer-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--pink-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.reviewer-name { font-size: 13px; font-weight: 900; color: #ffffff; }
.reviewer-pet { font-size: 12px; color: rgba(255, 255, 255, 0.4); font-weight: 700; }

/* CTA */
.cta-section {
    margin: 0 48px 56px;
    border-radius: var(--r-xl);
    overflow: hidden;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 40%, var(--purple) 100%);
    padding: 60px 56px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
}

.cta-section::before {
    content: '🐾';
    position: absolute;
    right: 120px;
    top: -20px;
    font-size: 200px;
    opacity: 0.06;
    transform: rotate(-15deg);
    pointer-events: none;
}

.cta-left { position: relative; z-index: 1; }

.cta-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    margin-bottom: 14px;
}

.cta-left h2 { font-size: 34px; font-weight: 900; color: #ffffff; letter-spacing: -1px; margin: 0 0 8px; }
.cta-left p { font-size: 15px; color: rgba(255, 255, 255, 0.78); font-weight: 700; margin: 0; }

.btn-cta {
    background: #ffffff;
    color: var(--pink-deep);
    padding: 16px 36px;
    border-radius: var(--r-pill);
    font-weight: 900;
    font-size: 15px;
    white-space: nowrap;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* FOOTER */
.home-footer {
    background: var(--dark);
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
}

.footer-logo { font-size: 18px; font-weight: 900; color: #ffffff; }
.footer-logo em { font-style: normal; color: var(--pink); }
.home-footer p { font-size: 12.5px; color: rgba(255, 255, 255, 0.3); font-weight: 700; margin: 0; }

/* Scroll reveal (JS-controlled) */
.reveal-target {
    opacity: 0;
    transform: translateY(18px);
    transition: 0.5s ease;
}

.reveal-target.show {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-target {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .shape,
    .live-dot,
    .float-card {
        animation: none;
    }

    .svc:hover,
    .btn-primary:hover,
    .btn-cta:hover {
        transform: none;
    }
}

/* RESPONSIVE: 큰 화면(데스크탑)은 위 기본 스타일 그대로 두고, 화면이 좁아질 때만 2단계로 대응한다 */

/* 1) 태블릿 이하 (768px) */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 48px 24px 40px;
        gap: 36px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-left {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-desc {
        max-width: none;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-trust {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-right {
        margin-top: 28px;
        max-width: 460px;
        margin-left: auto;
        margin-right: auto;
    }

    .stats-strip {
        flex-wrap: wrap;
        margin: 0 24px 56px;
    }

    .stat-item {
        flex: 1 1 50%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .services-section {
        padding: 0 24px 56px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .review-section {
        padding: 48px 24px;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid .review-card:last-child {
        grid-column: 1 / -1;
    }

    .cta-section {
        margin: 0 24px 48px;
        grid-template-columns: 1fr;
        text-align: center;
        padding: 44px 28px;
    }

    .cta-section::before {
        display: none;
    }

    .btn-cta {
        justify-content: center;
    }

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

/* 2) 모바일 (480px 이하) */
@media (max-width: 480px) {
    .hero-title { font-size: 32px; }

    .hero-desc { font-size: 14px; }

    .hero-badge { font-size: 12px; padding: 7px 16px; white-space: normal; text-align: center; }

    .hero-btns { flex-direction: column; align-items: stretch; }

    .btn-primary, .btn-secondary { width: 100%; justify-content: center; padding: 14px 20px; }

    .hero-right { max-width: 100%; }

    .hero-main-card { padding: 24px 18px; }

    .appt-info { grid-template-columns: 1fr; gap: 8px; }

    .stat-item { flex: 1 1 100%; }

    .stat-num { font-size: 26px; }

    .sec-title { font-size: 26px; }

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

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

    .reviews-grid .review-card:last-child { grid-column: auto; }

    .cta-left h2 { font-size: 26px; }
}
