/* ========================================
    CSS CUSTOM PROPERTIES — DESIGN TOKENS
======================================== */
/* Shared tokens (--orange, --red, --cream, --charcoal, --white, --orange-light, --orange-border,
   --orange-glow, --white-glass, --white-border, --dark-overlay, --gradient-brand, --gradient-hero,
   --shadow-orange, --shadow-soft, --radius-card, --radius-pill) already declared in style.css,
   loaded before this file. Only this component's own conflicting tokens are scoped here. */
:root {
    --review-shadow-card: 0 12px 48px rgba(0,0,0,0.18);
    --review-font-body: 'Nunito', sans-serif;
    --review-font-display: 'Playfair Display', serif;
}

/* ========================================
    TYPOGRAPHY CLASSES
======================================== */

/* ========================================
    SECTION 2 — REVIEWS
======================================== */
.reviews-section {
    background: linear-gradient(180deg, var(--cream) 0%, #ffffff 45%, var(--cream) 100%);
    padding: 80px 0 60px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--orange-light);
    color: var(--orange);
    border: 1px solid var(--orange-border);
    border-radius: var(--radius-pill);
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.reviews-section-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.reviews-section-subtitle {
    color: var(--orange);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
}

.reviews-section-desc {
    color: #6b7280;
    font-size: 17px;
    font-weight: 500;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
    REVIEW CAROUSEL
======================================== */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0 10px;
}

.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    padding: 10px 4px;
}

/* Review card */
.review-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: calc(33.333% - 16px);
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    height: 420px;
    cursor: pointer;
    box-shadow: var(--review-shadow-card);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.review-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}

.review-card:hover .card-photo {
    transform: scale(1.06);
}

.card-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
    to top,
    rgba(0,0,0,0.9) 0%,
    rgba(0,0,0,0.45) 35%,
    rgba(0,0,0,0.08) 65%,
    transparent 100%
    );
    z-index: 1;
}

/* Card top badges */
.card-top-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
}

.badge-verified {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-pill);
    padding: 5px 10px;
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
}

.badge-verified .verify-dot {
    width: 16px;
    height: 16px;
    background: #1565C0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-pill);
    padding: 5px 10px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
}

.badge-rating .star-icon {
    color: #FFCA28;
    font-size: 13px;
}

/* Card bottom info */
.card-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px;
    z-index: 3;
}

.card-customer-name {
    color: var(--white);
    font-family: var(--review-font-body);
    font-size: 26px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 8px;
}

.card-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.card-location {
    color: var(--orange);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.card-breed {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-pill);
    color: #FFF8F2;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    white-space: nowrap;
}

/* Carousel navigation */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 36px;
}

.nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-btn:active {
    transform: scale(0.92);
}

.nav-btn-prev {
    background: var(--white);
    color: var(--orange);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    border: 1.5px solid var(--orange-border);
}

.nav-btn-prev:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}

.nav-btn-next {
    background: var(--gradient-brand);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(255,107,0,0.35);
}

.nav-btn-next:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-orange);
}

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    height: 8px;
    border-radius: 4px;
    background: rgba(255,107,0,0.25);
    cursor: pointer;
    transition: width 0.35s ease, background 0.35s ease;
    width: 8px;
    border: none;
    padding: 0;
}

.dot.active {
    background: var(--orange);
    width: 28px;
}

/* Quote panel */
.quote-panel {
    background: var(--white);
    border-radius: 20px;
    padding: 28px 32px;
    position: relative;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--orange-border);
    max-width: 520px;
    margin: 40px auto 0;
    text-align: center;
}

.quote-icon {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(255,107,0,0.35);
}

.quote-text {
    color: #4b5563;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 14px;
    transition: opacity 0.4s ease;
}

.quote-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-bottom: 8px;
}

.quote-stars .bi-star-fill {
    color: #FFCA28;
    font-size: 15px;
}

.quote-author {
    color: var(--orange);
    font-size: 14px;
    font-weight: 700;
}

/* Trust badges strip */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 52px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid rgba(255,107,0,0.2);
    border-radius: var(--radius-pill);
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--charcoal);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trust-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,107,0,0.15);
}

.trust-badge .badge-emoji {
    font-size: 16px;
}

/* ========================================
    FOOTER
======================================== */
.site-footer {
    border-top: 1px solid rgba(255,107,0,0.12);
    padding: 30px 0;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.footer-brand-name {
    font-weight: 800;
    font-size: 18px;
    color: var(--charcoal);
}

.footer-copy {
    color: #9ca3af;
    font-size: 13px;
    font-weight: 500;
}

/* Animations (@keyframes scrollPulse/slideDown/fadeInUp/fadeInScale/floatPaw, .paw-1..5,
   .reveal, .reveal-delay-1..4, .hero-animate, .hero-animate-delay-1..5, .quote-fade-out/in)
   already declared in style.css, loaded before this file. */

/* ========================================
    RESPONSIVE — TABLET (≤992px)
======================================== */
@media (max-width: 992px) {
    .reviews-section-title { font-size: 32px; }
    .hero-title { font-size: 46px; }
    .hero-desc { font-size: 16px; }

    .review-card {
    flex: 0 0 calc(50% - 12px);
    min-width: calc(50% - 12px);
    }

    .stat-value { font-size: 24px; }
    .stat-item { padding: 16px 14px; }

    .btn-hero-primary,
    .btn-hero-ghost {
    padding: 13px 28px;
    font-size: 15px;
    }
}

/* ========================================
    RESPONSIVE — MOBILE (≤768px)
======================================== */
@media (max-width: 768px) {
    .reviews-section-title { font-size: 26px; }
    .hero-title { font-size: 34px; }
    .hero-desc { font-size: 15px; max-width: 100%; }

    .hero-content-wrapper { padding: 100px 0 50px; }

    .reviews-section { padding: 60px 0 40px; }
    .reviews-section-subtitle { font-size: 18px; }
    .reviews-section-desc { font-size: 15px; }

    .review-card {
    flex: 0 0 calc(85vw);
    min-width: calc(85vw);
    height: 380px;
    }

    .card-customer-name { font-size: 22px; }

    .stats-bar { border-radius: 14px; }
    .stat-item {
    flex: 0 0 50%;
    border-right: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding: 16px 12px;
    }

    .stat-item:nth-child(2),
    .stat-item:nth-child(4) { border-right: none; }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) { border-bottom: none; }

    .stat-value { font-size: 22px; }
    .stat-label { font-size: 10px; }

    .quote-panel { padding: 24px 20px; }
    .quote-text { font-size: 14px; }

    .btn-hero-primary,
    .btn-hero-ghost {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
    text-align: center;
    }

    .hero-cta-group {
    flex-direction: column;
    width: 100%;
    }

    .trust-badge { font-size: 12px; padding: 8px 14px; }

    .nav-links { display: none; }
    .hamburger-btn { display: flex !important; }
}

/* ========================================
    RESPONSIVE — SMALL MOBILE (≤480px)
======================================== */
@media (max-width: 480px) {
    .reviews-section-title { font-size: 22px; }
    .hero-title { font-size: 28px; }
    .hero-badge { font-size: 12px; padding: 6px 14px; }
    .review-card { height: 340px; }
    .card-customer-name { font-size: 20px; }
    .section-eyebrow { font-size: 12px; }
}

/* Desktop: hide hamburger */
@media (min-width: 769px) {
    .hamburger-btn { display: none; }
}
