/* ============================================================
   LEMED SPA — Care Pages (Pre & Post Treatment Instructions)
   Mobile-first, dark theme, accordion layout
   ============================================================ */

/* Google Fonts loaded via <link> in HTML <head> for performance */


/* ===== Skip to Content ===== */

.skip-to-content {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #0a0a0c;
    background: #C5A55A;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 2px;
}

.skip-to-content:focus {
    position: fixed;
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    overflow: visible;
}


/* ===== Reset & Base ===== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    background-color: #0a0a0c;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ===== Header ===== */

.care-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.care-header__logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.1rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-bottom: none;
    transition: color 0.3s ease;
}

.care-header__logo:hover {
    color: #C5A55A;
}

.care-header__type {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 2px;
}

.care-header__type--pre {
    background: rgba(90, 165, 197, 0.15);
    color: rgba(90, 165, 197, 1);
    border: 1px solid rgba(90, 165, 197, 0.4);
}

.care-header__type--post {
    background: rgba(197, 165, 90, 0.15);
    color: rgba(197, 165, 90, 0.9);
    border: 1px solid rgba(197, 165, 90, 0.3);
}


/* ===== Hero ===== */

.care-hero {
    text-align: center;
    padding: 2.5rem 1.25rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(197, 165, 90, 0.15);
}

.care-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.08rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.care-hero__sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: rgba(197, 165, 90, 0.7);
}


/* ===== Content Area ===== */

.care-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem 1.25rem 0;
}


/* ===== Accordion ===== */

.care-section {
    border-bottom: 1px solid rgba(197, 165, 90, 0.12);
}

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

.care-accordion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.15rem 0;
    min-height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.care-accordion:hover {
    color: #C5A55A;
}

.care-accordion:focus-visible {
    outline: 2px solid #C5A55A;
    outline-offset: 4px;
    border-radius: 2px;
}

.care-accordion__title {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12rem;
}

.care-accordion__icon {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(197, 165, 90, 0.75);
    flex-shrink: 0;
    width: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.care-accordion__body {
    padding: 0 0 1.5rem;
    animation: fadeIn 0.25s ease;
}

.care-accordion__body[hidden] {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ===== Accordion Body Content ===== */

.care-accordion__body p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.75rem;
}

.care-accordion__body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
}

.care-accordion__body ul li {
    position: relative;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    padding: 0.4rem 0 0.4rem 1.25rem;
}

.care-accordion__body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(197, 165, 90, 0.5);
}

.care-accordion__body ul li strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.care-accordion__body h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: rgba(197, 165, 90, 0.8);
    margin-bottom: 0.5rem;
    margin-top: 0.75rem;
}

.care-accordion__body h3:first-child {
    margin-top: 0;
}


/* ===== Alert Section (Post-Care Warnings) ===== */

.care-alert {
    max-width: 600px;
    margin: 1.5rem auto 0;
    padding: 1.25rem;
    border: 1px solid rgba(220, 120, 90, 0.3);
    border-radius: 4px;
    background: rgba(220, 120, 90, 0.06);
}

.care-alert h2 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: rgba(220, 150, 120, 0.95);
    margin-bottom: 0.75rem;
}

.care-alert p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.5rem;
}

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

.care-alert ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.care-alert ul li {
    position: relative;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    padding: 0.3rem 0 0.3rem 1.25rem;
}

.care-alert ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(220, 120, 90, 0.6);
}

.care-alert ul li strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}


/* ===== CTA Section ===== */

.care-cta {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1.25rem 1rem;
    text-align: center;
}

.care-cta p {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.25rem;
}

.care-cta .button {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
    margin: 0.35rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.care-cta .button.primary {
    background-color: #C5A55A;
    color: #1A1A1A;
    border: 2px solid #C5A55A;
}

.care-cta .button.primary:hover {
    background-color: #d4b76e;
    border-color: #d4b76e;
}

.care-cta .button:not(.primary) {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(197, 165, 90, 0.4);
}

.care-cta .button:not(.primary):hover {
    border-color: #C5A55A;
    color: #C5A55A;
}


/* ===== Footer ===== */

.care-footer {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1.25rem;
    text-align: center;
    border-top: 1px solid rgba(197, 165, 90, 0.1);
}

.care-footer p {
    font-size: 0.6rem;
    letter-spacing: 0.05rem;
    color: rgba(255, 255, 255, 0.3);
}


/* ===== Responsive ===== */

@media screen and (min-width: 480px) {
    .care-hero h1 {
        font-size: 2.4rem;
    }

    .care-content {
        padding: 1.5rem 2rem 0;
    }

    .care-header {
        padding: 1.25rem 2rem;
    }

    .care-hero {
        padding: 3rem 2rem 2.5rem;
    }

    .care-cta {
        padding: 2.5rem 2rem 1.5rem;
    }

    .care-alert {
        margin-left: 2rem;
        margin-right: 2rem;
    }

    .care-footer {
        padding: 2.5rem 2rem;
    }
}

@media screen and (min-width: 768px) {
    .care-hero h1 {
        font-size: 2.75rem;
    }

    .care-accordion__title {
        font-size: 0.9rem;
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    .care-accordion__content,
    .care-accordion__toggle,
    .care-nav a,
    .fade-in {
        transition: none !important;
        animation: none !important;
    }

    @keyframes fadeIn {
        from { opacity: 1; }
        to { opacity: 1; }
    }
}
