/* ========================================
   Allure Salon Oakland
   ======================================== */

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

:root {
    --color-bg: #f7f4f0;
    --color-bg-alt: #eee9e3;
    --color-bg-card: #ffffff;
    --color-text: #2c2520;
    --color-text-muted: #6e655c;
    --color-accent: #b8944e;
    --color-accent-light: #a07e3a;
    --color-border: rgba(44, 37, 32, 0.12);
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --container-max: 1200px;
    --section-pad: 100px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
}

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

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent-light);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.center {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---- Typography ---- */

.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: 24px;
}

/* ---- Buttons ---- */

.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-accent-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 148, 78, 0.3);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* ========================================
   Announcement Banner
   ======================================== */

.announcement-bar {
    background: linear-gradient(135deg, var(--color-accent), #8a6d3b);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.announcement-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.announcement-bar p {
    margin: 0;
}

.announcement-bar a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.announcement-bar a:hover {
    color: var(--color-text);
}

.announcement-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition);
    padding: 0 4px;
    line-height: 1;
    flex-shrink: 0;
}

.announcement-close:hover {
    opacity: 1;
}

.announcement-bar.hidden {
    display: none;
}

/* ========================================
   Navigation
   ======================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(247, 244, 240, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.08);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.05em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color var(--transition);
}

.nav.scrolled .nav-logo {
    color: var(--color-text);
}

.nav-logo:hover {
    color: var(--color-accent);
}

.nav-logo-img {
    height: 36px;
    width: auto;
    filter: invert(1);
    opacity: 0.9;
    transition: opacity var(--transition), filter var(--transition);
}

.nav.scrolled .nav-logo-img {
    filter: none;
}

.nav-logo:hover .nav-logo-img {
    opacity: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition);
}

.nav.scrolled .nav-links a {
    color: var(--color-text-muted);
}

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

.nav-phone {
    color: var(--color-accent) !important;
    font-weight: 500 !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all var(--transition);
}

.nav.scrolled .nav-toggle span {
    background: var(--color-text);
}

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/salon-photo.png') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(44, 37, 32, 0.55) 0%,
        rgba(44, 37, 32, 0.45) 30%,
        rgba(44, 37, 32, 0.4) 50%,
        rgba(44, 37, 32, 0.55) 70%,
        rgba(247, 244, 240, 0.95) 100%
    );
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 0 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 300;
    line-height: 1;
    color: #fff;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    font-style: italic;
    color: var(--color-accent);
    margin-bottom: 16px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-address {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.hero-hours {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 6px;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 36px;
    padding: 10px 24px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-hours-sep {
    color: rgba(255, 255, 255, 0.35);
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s infinite;
}

.hero-scroll a {
    color: var(--color-text-muted);
}

.hero-scroll a:hover {
    color: var(--color-accent);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ========================================
   About
   ======================================== */

.about {
    padding: var(--section-pad) 0;
    background: var(--color-bg);
}

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

.about-image img {
    border-radius: 4px;
    object-fit: cover;
    width: 100%;
    aspect-ratio: 4/5;
}

.about-text p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.about-text p:last-of-type {
    margin-bottom: 24px;
}

.about-brands {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--color-accent);
    letter-spacing: 0.08em;
}

.brand-divider {
    color: var(--color-text-muted);
    opacity: 0.4;
}

/* ========================================
   Services
   ======================================== */

.services {
    padding: var(--section-pad) 0;
    background: var(--color-bg-alt);
}

.service-category {
    margin-bottom: 72px;
}

.service-category:last-of-type {
    margin-bottom: 48px;
}

.service-category-header {
    margin-bottom: 36px;
}

.service-category-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 12px;
}

.service-category-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    max-width: 700px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: all var(--transition);
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.service-card-inner {
    padding: 28px;
}

.service-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-price {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-accent);
}

.service-card-link {
    display: block;
    margin-top: 14px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.service-card-link:hover {
    color: var(--color-accent-light);
}

.services-cta {
    text-align: center;
    padding-top: 24px;
}

/* ========================================
   Gallery / Carousel
   ======================================== */

.gallery {
    padding: var(--section-pad) 0 calc(var(--section-pad) * 0.6);
    background: var(--color-bg);
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 40px auto 0;
    padding: 0 60px;
}

.carousel-track-container {
    overflow: hidden;
    border-radius: 4px;
}

.carousel-track {
    display: flex;
    gap: 16px;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    cursor: grab;
}

.carousel-track.dragging {
    transition: none;
    cursor: grabbing;
}

.carousel-slide {
    flex: 0 0 calc((100% - 32px) / 3);
    aspect-ratio: 3/4;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-slide:hover img {
    transform: scale(1.05);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-bg-alt);
}

.carousel-btn-prev {
    left: 4px;
}

.carousel-btn-next {
    right: 4px;
}

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

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition);
}

.carousel-dot.active {
    background: var(--color-accent);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .carousel-wrapper {
        padding: 0 48px;
    }

    .carousel-slide {
        flex: 0 0 calc((100% - 16px) / 2);
    }
}

@media (max-width: 480px) {
    .carousel-wrapper {
        padding: 0 44px;
    }

    .carousel-slide {
        flex: 0 0 100%;
    }
}

/* ========================================
   Booking
   ======================================== */

.booking {
    padding: var(--section-pad) 0;
    background: var(--color-bg-alt);
}

.booking-cta {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.booking-cta-text {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 36px;
}

.booking-btn {
    padding: 18px 48px;
    font-size: 0.9rem;
}

.booking-cta-sub {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    opacity: 0.6;
}

/* ========================================
   Contact
   ======================================== */

.contact {
    padding: var(--section-pad) 0;
    background: var(--color-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-detail svg {
    flex-shrink: 0;
    color: var(--color-accent);
    margin-top: 4px;
}

.contact-detail strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 4px;
}

.hours-table {
    margin-top: 4px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-day {
    color: var(--color-text);
    font-weight: 400;
    min-width: 100px;
}

.hours-time {
    color: var(--color-text-muted);
    text-align: right;
}

.contact-detail p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.contact-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    transition: all var(--transition);
}

.contact-social a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

.contact-map iframe {
    border-radius: 4px;
}

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

.footer {
    padding: 48px 0;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

.footer-inner {
    text-align: center;
}

.footer-brand h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 4px;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.footer-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    opacity: 0.6;
}

/* ========================================
   Scroll Animations
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 1024px) {
    :root {
        --section-pad: 80px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 64px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        background: rgba(247, 244, 240, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        box-shadow: -4px 0 40px rgba(0, 0, 0, 0.1);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        aspect-ratio: 16/9;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4.5rem);
    }

    .announcement-bar {
        font-size: 0.72rem;
        padding: 8px 0;
    }

    .nav-logo span {
        font-size: 1.2rem;
    }

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

    .booking-cta-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .nav-logo span {
        font-size: 1rem;
    }

    .nav-logo-img {
        height: 28px;
    }

    .hero-hours {
        font-size: 0.7rem;
        gap: 2px 4px;
    }

    .booking-btn {
        padding: 16px 36px;
        width: 100%;
        max-width: 280px;
    }
}

/* ========================================
   Service Pages
   ======================================== */

.btn-ghost {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-ghost:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

.sp-hero {
    position: relative;
    min-height: 62vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.sp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(44, 37, 32, 0.6) 0%,
        rgba(44, 37, 32, 0.5) 55%,
        rgba(247, 244, 240, 0.96) 100%
    );
}

.sp-hero-inner {
    position: relative;
    text-align: center;
    padding: 140px 24px 80px;
    max-width: 780px;
}

.sp-breadcrumb {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.sp-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
}

.sp-breadcrumb a:hover {
    color: var(--color-accent);
}

.sp-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 7vw, 4.6rem);
    font-weight: 300;
    line-height: 1.05;
    color: #fff;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.sp-hero-sub {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-style: italic;
    color: #fff;
    margin-bottom: 28px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.sp-hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.sp-section {
    padding: var(--section-pad) 0;
}

.sp-section.alt {
    background: var(--color-bg-alt);
}

.sp-lead {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.sp-lead p {
    color: var(--color-text-muted);
    font-size: 1.02rem;
    margin-bottom: 16px;
}

.sp-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 48px;
    align-items: start;
}

.sp-body h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 400;
    color: var(--color-text);
    margin: 28px 0 14px;
}

.sp-body h3:first-child {
    margin-top: 0;
}

.sp-body p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.sp-body ul {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.sp-body li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.sp-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
}

.sp-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 32px;
    position: sticky;
    top: 120px;
}

.sp-card-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.sp-card-price {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1;
    margin-bottom: 4px;
}

.sp-card-price small {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-family: var(--font-body);
}

.sp-card-meta {
    margin: 20px 0 24px;
    border-top: 1px solid var(--color-border);
}

.sp-card-meta div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.88rem;
}

.sp-card-meta span:first-child {
    color: var(--color-text-muted);
}

.sp-card-meta span:last-child {
    color: var(--color-text);
    font-weight: 500;
    text-align: right;
}

.sp-card .btn {
    width: 100%;
    margin-top: 4px;
}

.sp-card-note {
    margin-top: 14px;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    opacity: 0.75;
    text-align: center;
}

.sp-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 8px;
}

.sp-step {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 28px;
}

.sp-step-num {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.sp-step h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-text);
}

.sp-step p {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    margin: 0;
}

.sp-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 8px;
}

.sp-gallery img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 4px;
}

.sp-faq {
    max-width: 820px;
    margin: 8px auto 0;
}

.sp-faq-item {
    border-bottom: 1px solid var(--color-border);
}

.sp-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 40px 22px 0;
    position: relative;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-text);
}

.sp-faq-item summary::-webkit-details-marker {
    display: none;
}

.sp-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: transform var(--transition);
}

.sp-faq-item[open] summary::after {
    content: '\2212';
}

.sp-faq-item p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    padding: 0 40px 24px 0;
    margin: 0;
}

.sp-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 8px;
}

.sp-related-card {
    display: block;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 28px;
    transition: all var(--transition);
}

.sp-related-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.sp-related-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 8px;
}

.sp-related-card p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.sp-related-card span {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
}

/* Comparison cards (pros / cons) */
.sp-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 8px;
}

.sp-compare-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 32px;
}

.sp-compare-card .tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 6px;
}

.sp-compare-card h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 10px;
}

.sp-compare-card .desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.pc-heading {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text);
    margin: 20px 0 10px;
}

.pc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pc-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 9px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.pc-list.pros li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: #6f9b6e;
    font-weight: 700;
}

.pc-list.cons li::before {
    content: '\2013';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: 700;
}

/* Comparison table */
.sp-table-wrap {
    overflow-x: auto;
    margin-top: 8px;
    border-radius: 6px;
    border: 1px solid var(--color-border);
}

.sp-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-bg-card);
    font-size: 0.9rem;
    min-width: 560px;
}

.sp-table th,
.sp-table td {
    text-align: left;
    padding: 14px 18px;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}

.sp-table thead th {
    background: var(--color-bg-alt);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-text);
}

.sp-table th[scope="row"] {
    color: var(--color-text);
    font-weight: 500;
    width: 30%;
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.sp-table td {
    color: var(--color-text-muted);
}

.sp-table tbody tr:last-child th,
.sp-table tbody tr:last-child td {
    border-bottom: none;
}

.sp-note {
    max-width: 820px;
    margin: 32px auto 0;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-accent);
    border-radius: 6px;
    padding: 24px 28px;
}

.sp-note strong {
    color: var(--color-text);
}

.sp-note p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .sp-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sp-card {
        position: static;
    }
}

@media (max-width: 700px) {
    .sp-compare-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .sp-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .sp-hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}
