/**
 * Glowstone - Care & Maintenance Page Styles
 * Caesarstone-inspired layout with Glowstone branding
 * Responsive, SEO-friendly, smooth animations
 */

:root {
    --care-gold: #c9a84c;
    --care-green: #3aaa8c;
    --care-cream: #f5f0ea;
    --care-black: #0d0c0b;
    /* Video hero: warmer/darker than white for contrast on bright frames */
    --care-hero-head: #f3ede4;
    --care-hero-copy: #e8e0d4;
    --care-hero-link: #f0e9dd;
}

/* Scroll offset for fixed navbar */
.care-section,
.care-warranty,
#main-content {
    scroll-margin-top: clamp(70px, 10vw, 90px);
}

/* ===== Progress bar ===== */
#care-progress {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--care-green), var(--care-gold));
    z-index: 9999;
    pointer-events: none;
}

/* ===== Hero scroll section ===== */
#care-hero {
    position: relative;
    height: 320vh;
}

#care-pin {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

#care-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#care-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.18) 22%,
        rgba(0, 0, 0, 0.14) 50%,
        rgba(0, 0, 0, 0.2) 78%,
        rgba(0, 0, 0, 0.55) 100%);
}

.care-panel {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    will-change: opacity, transform;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#care-p0 {
    align-items: center;
    justify-content: center;
    padding: 0 5vw;
    text-align: center;
}

#care-p1 {
    align-items: flex-start;
    justify-content: center;
    padding: 0 8vw;
}

#care-p2 {
    align-items: flex-end;
    justify-content: center;
    padding: 0 8vw;
    text-align: right;
}

#care-p3 {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.care-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--care-gold);
    font-weight: 600;
    margin-bottom: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 0 10px rgba(0, 0, 0, 0.7);
}

.care-eyebrow::before,
.care-eyebrow::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--care-gold);
    opacity: 0.5;
}

#care-p2 .care-eyebrow {
    flex-direction: row-reverse;
}

.care-panel .care-panel-title,
.care-panel h1,
.care-panel h2 {
    font-size: clamp(2.65rem, 6.9vw, 6.35rem);
    font-weight: 600;
    line-height: 1.07;
    color: var(--care-hero-head);
    margin-bottom: 1.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 2px 8px rgba(0, 0, 0, 0.5);
}

.care-panel-title em,
.care-panel h2 em {
    font-style: italic;
    color: var(--care-gold);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 2px 6px rgba(0, 0, 0, 0.5);
}

.care-panel-title strong,
.care-panel h2 strong {
    font-weight: 600;
    color: var(--care-green);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 2px 6px rgba(0, 0, 0, 0.5);
}

.care-desc {
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    font-weight: 400;
    color: var(--care-hero-copy);
    max-width: 460px;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

#care-p2 .care-desc {
    margin-left: auto;
}

.care-link {
    font-size: 0.76rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--care-hero-link);
    text-decoration: none;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
}

.care-link-bar {
    display: block;
    width: 44px;
    height: 1px;
    background: var(--care-gold);
    transition: width 0.35s ease;
}

.care-link:hover .care-link-bar {
    width: 68px;
}

#care-p2 .care-link {
    flex-direction: row-reverse;
}

.care-link.care-link-right {
    justify-content: flex-end;
}

.care-link.care-link-right .care-link-bar {
    transform-origin: right;
}

/* Scroll hint */
#care-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.5s;
}

#care-hint span {
    font-size: var(--text-micro);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.c-mouse {
    width: 19px;
    height: 30px;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

.c-dot {
    width: 2px;
    height: 5px;
    background: var(--care-gold);
    border-radius: 2px;
    animation: cDot 1.8s ease-in-out infinite;
}

@keyframes cDot {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(9px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* Hero responsive */
@media (min-width: 1400px) {
    .care-panel h1,
    .care-panel h2 {
        font-size: 7rem;
    }
    .care-desc {
        font-size: 1.18rem;
        max-width: 500px;
    }
}

@media (max-width: 1199px) {
    #care-p0 {
        padding: 0 5vw 8vh;
    }
    #care-p1,
    #care-p2 {
        padding: 0 5vw;
    }
    .care-panel h1,
    .care-panel h2 {
        font-size: clamp(2.25rem, 5.8vw, 4.9rem);
    }
    .care-desc {
        max-width: 420px;
        font-size: clamp(0.98rem, 2.3vw, 1.1rem);
    }
}

@media (max-width: 991px) {
    #care-p1,
    #care-p2 {
        padding: 0 4vw;
    }
    .care-panel h1,
    .care-panel h2 {
        font-size: clamp(2.25rem, 5vw, 4rem);
    }
    .care-desc {
        font-size: 1rem;
        max-width: 400px;
    }
    .care-eyebrow {
        font-size: 0.72rem;
    }
}

@media (max-width: 767px) {
    #care-hero {
        height: 160vh;
    }
    #care-pin {
        height: 100svh;
        height: 100dvh;
    }
    #care-p0,
    #care-p1,
    #care-p2 {
        align-items: flex-start;
        justify-content: flex-end;
        padding: 0 5vw 5vh;
        text-align: left;
    }
    .care-panel h1,
    .care-panel h2 {
        font-size: clamp(2.05rem, 6.8vw, 2.75rem);
        margin-bottom: 0.8rem;
    }
    .care-eyebrow {
        font-size: 0.7rem;
        margin-bottom: 0.6rem;
    }
    .care-desc {
        font-size: 1rem;
        max-width: 100%;
        line-height: 1.75;
        margin-bottom: 1.2rem;
    }
    #care-p2 .care-desc {
        margin-left: 0;
    }
    #care-p2 .care-eyebrow {
        flex-direction: row;
    }
    #care-p2 .care-link {
        flex-direction: row;
    }
    .care-link {
        font-size: 0.74rem;
    }
    .care-link-bar {
        width: 32px;
    }
    #care-hint span {
        font-size: var(--text-micro);
    }
}

@media (max-width: 480px) {
    #care-hero {
        height: 150vh;
    }
    #care-p0,
    #care-p1,
    #care-p2 {
        padding: 0 5vw 4vh;
    }
    .care-panel h1,
    .care-panel h2 {
        font-size: 1.82rem;
        line-height: 1.1;
    }
    .care-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.2em;
    }
    .care-desc {
        font-size: 0.95rem;
        margin-bottom: 0.9rem;
    }
    .care-link {
        font-size: 0.72rem;
        gap: 0.6rem;
    }
    .care-link-bar {
        width: 26px;
    }
    .c-mouse {
        width: 16px;
        height: 26px;
    }
}

@media (max-width: 360px) {
    #care-hero {
        height: 150vh;
    }
    .care-panel h1,
    .care-panel h2 {
        font-size: 1.62rem;
    }
    .care-desc {
        font-size: 0.9rem;
    }
}

@supports (padding: env(safe-area-inset-top)) {
    #care-pin {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

@media (prefers-reduced-motion: reduce) {
    .care-panel,
    .care-link-bar,
    .c-dot {
        transition: none;
    }
    .c-dot {
        animation: none;
    }
}

/* ===== Hero ===== */
.care-hero {
    position: relative;
    min-height: 70vh;
    min-height: 70dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.care-hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
}

.care-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 15, 15, 0.5) 0%,
        rgba(15, 15, 15, 0.7) 50%,
        rgba(15, 15, 15, 0.95) 100%
    );
}

.care-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

.care-breadcrumb {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.care-breadcrumb a {
    color: var(--navbar-accent);
    text-decoration: none;
}

.care-breadcrumb a:hover {
    text-decoration: underline;
}

.care-breadcrumb span {
    color: rgba(232, 228, 223, 0.7);
}

.care-hero-content h1 {
    font-size: clamp(2.35rem, 5.2vw, 3.65rem);
    font-weight: 600;
    color: var(--care-hero-head);
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.care-hero-text {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: rgba(232, 228, 223, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.care-hero-text:last-of-type {
    margin-bottom: 1.5rem;
}

.care-pdf-link {
    margin-top: 0.5rem;
    display: inline-block;
}

/* ===== Content Block ===== */
.care-content-block {
    max-width: 800px;
    margin: 0 auto;
}

.care-content-block p {
    font-size: 1rem;
    color: rgba(232, 228, 223, 0.9);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.care-content-block p:last-child {
    margin-bottom: 0;
}

/* ===== Dos and Don'ts ===== */
.care-dosdonts {
    background: rgba(0, 0, 0, 0.2);
}

.care-dosdonts-intro {
    text-align: center;
    font-size: 1rem;
    color: rgba(232, 228, 223, 0.85);
    margin-bottom: 2rem;
}

.care-dosdonts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.care-dos-col,
.care-donts-col {
    text-align: center;
}

.care-dos-col h3,
.care-donts-col h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #e8e4df;
    margin-bottom: 1rem;
}

.care-dos-col h3 {
    color: #81c784;
}

.care-donts-col h3 {
    color: #e57373;
}

.care-dos-col ul,
.care-donts-col ul {
    margin: 0 auto;
    padding-left: 1.25rem;
    text-align: left;
}

.care-dos-col li,
.care-donts-col li {
    font-size: 0.95rem;
    color: rgba(232, 228, 223, 0.9);
    line-height: 1.7;
    margin-bottom: 0.6rem;
}

/* ===== Applications - Bento Grid Gallery ===== */
.care-applications-intro {
    text-align: center;
    font-size: 1rem;
    color: rgba(232, 228, 223, 0.85);
    margin-bottom: 2.5rem;
}

.care-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto auto;
    gap: 0.75rem;
    max-width: 1100px;
    margin: 0 auto;
}

.care-bento-card {
    margin: 0;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.4);
}

.care-bento-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 180px;
    color: inherit;
}

/* Full-card image opens lightbox (same pattern as product renders) */
.care-app-lightbox-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    display: block;
    cursor: zoom-in;
    background: transparent;
    font: inherit;
    color: inherit;
    appearance: none;
    -webkit-appearance: none;
    text-align: left;
}

.care-app-lightbox-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.care-bento-card:hover .care-app-lightbox-item img {
    transform: scale(1.04);
}

.care-bento-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top, rgba(13, 12, 11, 0.95) 0%, rgba(13, 12, 11, 0.4) 45%, transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem 1rem;
    transition: background 0.3s ease;
}

.care-bento-collection-link {
    pointer-events: auto;
    margin-top: 0.5rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--care-gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 168, 76, 0.45);
    align-self: flex-start;
    padding-bottom: 0.1rem;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.care-bento-collection-link:hover,
.care-bento-collection-link:focus-visible {
    color: #e8d5a8;
    border-bottom-color: rgba(232, 213, 168, 0.7);
}

.care-bento-card:hover .care-bento-overlay {
    background: linear-gradient(to top, rgba(13, 12, 11, 0.98) 0%, rgba(13, 12, 11, 0.6) 60%);
}

.care-bento-label {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--care-cream);
    margin-bottom: 0.35rem;
    display: block;
}

.care-bento-desc {
    font-size: 0.78rem;
    font-weight: 400;
    color: rgba(245, 240, 234, 0.7);
    line-height: 1.5;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.35s ease;
}

.care-bento-card:hover .care-bento-desc {
    max-height: 4em;
    opacity: 1;
}

/* Bento layout: Kitchen = biggest, Flooring = wide */
.care-bento-kitchen {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.care-bento-kitchen .care-bento-link {
    min-height: 280px;
}

.care-bento-shelves {
    grid-column: 3;
    grid-row: 1;
}

.care-bento-table {
    grid-column: 4;
    grid-row: 1;
}

.care-bento-dining {
    grid-column: 3;
    grid-row: 2;
}

.care-bento-backsplash {
    grid-column: 4;
    grid-row: 2;
}

.care-bento-vanity {
    grid-column: 1;
    grid-row: 3;
}

.care-bento-wall {
    grid-column: 2;
    grid-row: 3;
}

.care-bento-flooring {
    grid-column: 3 / 5;
    grid-row: 3;
}

.care-bento-flooring .care-bento-link {
    min-height: 200px;
}

/* Applications responsive */
@media (max-width: 991px) {
    .care-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, auto);
    }
    .care-bento-kitchen {
        grid-column: 1 / 3;
        grid-row: 1;
    }
    .care-bento-kitchen .care-bento-link {
        min-height: 220px;
    }
    .care-bento-shelves {
        grid-column: 1;
        grid-row: 2;
    }
    .care-bento-table {
        grid-column: 2;
        grid-row: 2;
    }
    .care-bento-dining {
        grid-column: 1;
        grid-row: 3;
    }
    .care-bento-backsplash {
        grid-column: 2;
        grid-row: 3;
    }
    .care-bento-vanity {
        grid-column: 1;
        grid-row: 4;
    }
    .care-bento-wall {
        grid-column: 2;
        grid-row: 4;
    }
    .care-bento-flooring {
        grid-column: 1 / 3;
        grid-row: 5;
    }
}

@media (max-width: 575px) {
    .care-bento-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    .care-bento-kitchen,
    .care-bento-shelves,
    .care-bento-table,
    .care-bento-dining,
    .care-bento-backsplash,
    .care-bento-vanity,
    .care-bento-wall,
    .care-bento-flooring {
        grid-column: 1;
        grid-row: auto;
    }
    .care-bento-kitchen .care-bento-link {
        min-height: 200px;
    }
    .care-bento-flooring .care-bento-link {
        min-height: 180px;
    }
    .care-bento-desc {
        max-height: 4em;
        opacity: 1;
    }
    .care-bento-card:hover .care-bento-desc {
        max-height: 4em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .care-app-lightbox-item img {
        transition: none;
    }
    .care-bento-card:hover .care-app-lightbox-item img {
        transform: none;
    }
    .care-bento-desc {
        max-height: 4em;
        opacity: 1;
    }
}

/* ===== Application image lightbox (same UX as product renders) ===== */
.render-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.render-lightbox.active {
    display: flex;
}

.render-lightbox-close {
    position: absolute;
    z-index: 2;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(235, 228, 216, 0.12);
    color: var(--text-light);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.render-lightbox-close:hover {
    background: rgba(235, 228, 216, 0.22);
}

.render-lightbox-prev,
.render-lightbox-next {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border: none;
    background: rgba(235, 228, 216, 0.12);
    color: var(--text-light);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.render-lightbox-prev { left: 1rem; }
.render-lightbox-next { right: 1rem; }

.render-lightbox-prev:hover,
.render-lightbox-next:hover {
    background: rgba(235, 228, 216, 0.28);
}

.render-lightbox-prev:disabled,
.render-lightbox-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.render-lightbox-content {
    position: relative;
    z-index: 0;
    max-width: 95vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.render-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.render-lightbox-counter {
    position: absolute;
    z-index: 2;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(235, 228, 216, 0.88);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .render-lightbox {
        padding: 1rem;
    }

    .render-lightbox-close {
        top: max(1rem, env(safe-area-inset-top));
        right: max(1rem, env(safe-area-inset-right));
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .render-lightbox-prev {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        left: 0.5rem;
    }

    .render-lightbox-next {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        right: 0.5rem;
    }

    .render-lightbox-content img {
        max-height: 85vh;
    }

    .render-lightbox-counter {
        bottom: max(1rem, env(safe-area-inset-bottom));
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .render-lightbox {
        padding: 0.75rem;
    }

    .render-lightbox-close {
        top: max(0.75rem, env(safe-area-inset-top));
        right: max(0.75rem, env(safe-area-inset-right));
    }

    .render-lightbox-content img {
        max-height: 80vh;
    }
}

/* ===== Section Headings ===== */
.care-section {
    padding: 4rem 0;
}

.care-tips-alt {
    background: rgba(0, 0, 0, 0.15);
}

.care-section-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 600;
    color: #e8e4df;
    text-align: center;
    margin-bottom: 3rem;
}

/* ===== Tips Grid - Caesarstone-style thumbnails ===== */
.care-tips-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.care-tip-card {
    background: rgba(235, 228, 216, 0.04);
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.2s ease;
}

.care-tip-card:hover {
    border-color: rgba(201, 169, 98, 0.4);
    background: rgba(235, 228, 216, 0.07);
    transform: translateY(-2px);
}

.care-tip-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(201, 169, 98, 0.15);
}

.care-tip-thumb svg {
    width: 56px;
    height: 56px;
    color: var(--navbar-accent);
}

.care-tip-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #e8e4df;
    margin: 0;
    padding: 1rem 1.25rem 0.25rem;
}

.care-tip-card p {
    font-size: 0.875rem;
    color: rgba(232, 228, 223, 0.85);
    line-height: 1.5;
    margin: 0;
    padding: 0 1.25rem 1.25rem;
}

/* ===== Step-by-Step Accordion ===== */
.care-steps {
    background: rgba(0, 0, 0, 0.2);
}

.care-accordion {
    max-width: 720px;
    margin: 0 auto;
}

.care-accordion-item {
    border-bottom: 1px solid rgba(201, 169, 98, 0.15);
}

.care-accordion-item:last-child {
    border-bottom: none;
}

.care-accordion-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    background: transparent;
    border: none;
    color: #e8e4df;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
}

.care-accordion-btn:hover {
    color: var(--navbar-accent);
}

.care-accordion-btn:focus-visible {
    outline: 2px solid var(--navbar-accent);
    outline-offset: 2px;
}

.care-accordion-btn[aria-expanded="true"] .care-accordion-icon {
    transform: rotate(45deg);
}

.care-accordion-icon {
    font-size: 1.5rem;
    color: var(--navbar-accent);
    transition: transform 0.3s ease;
}

.care-accordion-body {
    padding: 0 0 1.5rem 0;
}

.care-accordion-body ol {
    margin: 0;
    padding-left: 1.25rem;
}

.care-accordion-body li {
    margin-bottom: 0.75rem;
    color: rgba(232, 228, 223, 0.85);
    line-height: 1.6;
}

.care-accordion-body li:last-child {
    margin-bottom: 0;
}

.care-accordion-body p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(232, 228, 223, 0.9);
    line-height: 1.7;
}

/* ===== FAQ ===== */
.care-faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.care-faq-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(201, 169, 98, 0.15);
}

.care-faq-item:last-child {
    border-bottom: none;
}

.care-faq-item dt {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e8e4df;
    margin-bottom: 0.75rem;
}

.care-faq-item dd {
    font-size: 0.95rem;
    color: rgba(232, 228, 223, 0.85);
    line-height: 1.6;
    margin: 0;
}

/* ===== Warranty CTA ===== */
.care-warranty {
    padding: 4rem 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 15, 15, 0.6),
        rgba(15, 15, 15, 1)
    );
}

.care-warranty-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.care-warranty-content h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 600;
    color: #e8e4df;
    margin-bottom: 1rem;
}

.care-warranty-content p {
    font-size: 1rem;
    color: rgba(232, 228, 223, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-care {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--navbar-accent);
    color: #0f0f0f;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-care:hover {
    background: #d4b872;
    color: #0f0f0f;
    transform: translateY(-2px);
}

.btn-care:focus-visible {
    outline: 2px solid var(--text-light);
    outline-offset: 2px;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .care-tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .care-hero {
        min-height: 60vh;
        padding-top: 70px;
    }

    .care-section {
        padding: 3rem 0;
    }

    .care-tips-grid {
        grid-template-columns: 1fr;
    }

    .care-accordion-btn {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .care-dosdonts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .care-hero-content {
        padding: 1rem;
    }

    .care-warranty {
        padding: 3rem 0;
    }

    .care-section {
        padding: 2.5rem 0;
    }

    .care-section-heading {
        font-size: clamp(1.5rem, 5vw, 1.85rem);
        margin-bottom: 2rem;
    }

    .care-content-block p {
        font-size: 0.95rem;
    }

    .care-dos-col h3,
    .care-donts-col h3 {
        font-size: 1.2rem;
    }

    .care-dos-col li,
    .care-donts-col li {
        font-size: 0.9rem;
    }

    .care-accordion-btn {
        font-size: 1rem;
        padding: 1rem 0;
    }
}

@media (max-width: 360px) {
    .care-section {
        padding: 2rem 0;
    }

    .care-dosdonts-grid {
        gap: 1.5rem;
    }

    .care-dos-col ul,
    .care-donts-col ul {
        padding-left: 1rem;
    }

    .care-bento-label {
        font-size: 1.15rem;
    }
}

/* Safe area for notched devices */
@supports (padding: env(safe-area-inset-bottom)) {
    #care-progress {
        left: env(safe-area-inset-left);
    }

    .care-section .container {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
}

/* Touch-friendly accordion */
@media (hover: none) and (pointer: coarse) {
    .care-accordion-btn {
        padding: 1.1rem 0;
        min-height: 48px;
    }
}
