/* ============================================
   Reusable Component Styles
   Shared across all treatment pages
   ============================================ */

/* ============================================
   EXTENDED COLOR PALETTE
   ============================================ */
:root {
    /* Existing palette (from styles.css) */
    --primary-color: #9E2A36;
    --secondary-color: #D79582;
    --accent-color: #9E2A36;
    --accent-light: #F2E2DE;
    --bg-light: #F2E2DE;
    --bg-white: #FAF6F3;
    --text-dark: #9E2A36;
    --text-medium: #9E2A36;
    --text-light: #D79582;
    --rose-gold: #D79582;
    --platinum: #FAF6F3;
    
    /* New accent colors (WCAG AA compliant) */
    --accent-rose: #D79582;      /* Secondary accent for CTAs */
    --accent-teal: #9E2A36;      /* Active states */
    --neutral-surface: #FAF6F3;  /* Soft neutral surface for cards/sections */
    
    /* Button & Interactive States */
    --hover-modifier: 0.92;  /* 8% darker */
    --active-modifier: 0.85; /* 15% darker */
}

/* ============================================
   HERO SECTION
   ============================================ */
.treatment-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
    background-size: cover;
    background-position: center;
}

.treatment-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(158, 42, 54, 0.15);
    z-index: 1;
}

/* Lighter overlay when hero image needs more visibility */
.hero-light::before {
    background: rgba(250, 246, 243, 0.0);
}

.treatment-hero .container,
.treatment-hero .treatment-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.treatment-hero h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    /* multi-shadow to outline text for readability */
    text-shadow:
        0 0 6px rgba(158, 42, 54, 0.45),
        0 2px 10px rgba(158, 42, 54, 0.35),
        0 6px 18px rgba(158, 42, 54, 0.28);
}

.treatment-hero .tagline {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow:
        0 0 5px rgba(158, 42, 54, 0.42),
        0 2px 10px rgba(158, 42, 54, 0.3),
        0 4px 12px rgba(158, 42, 54, 0.22);
}

/* In light-overlay heroes, switch text to white for contrast */
.hero-light .treatment-container h1,
.hero-light .treatment-container .tagline {
    color: #FAF6F3;
}

.hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.hero-cta-buttons .btn {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-block;
}

.hero-cta-buttons .btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 20px rgba(158, 42, 54, 0.28);
}

.hero-cta-buttons .btn-primary:hover {
    background: #9E2A36;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(158, 42, 54, 0.35);
}

.hero-cta-buttons .btn-secondary {
    background: rgba(250, 246, 243, 0.92);
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
    box-shadow: 0 4px 16px rgba(158, 42, 54, 0.14);
}

.hero-cta-buttons .btn-secondary:hover {
    background: var(--accent-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(158, 42, 54, 0.2);
}

/* ============================================
   STICKY SUBNAV (Tabs/Anchors)
   ============================================ */
.sticky-subnav {
    position: sticky;
    top: 80px;
    background: var(--bg-white);
    border-bottom: 2px solid var(--accent-light);
    z-index: 900;
    box-shadow: 0 4px 12px rgba(158, 42, 54, 0.08);
}

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

.subnav-list {
    display: flex;
    list-style: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0;
}

.subnav-list::-webkit-scrollbar {
    height: 4px;
}

.subnav-list::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.subnav-list::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 2px;
}

.subnav-item {
    flex-shrink: 0;
}

.subnav-link {
    display: block;
    padding: 16px 24px;
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.subnav-link:hover {
    color: var(--primary-color);
}

.subnav-link.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Mobile: stack subnav items horizontally with wrap */
@media (max-width: 768px) {
    .sticky-subnav {
        top: 70px;
    }

    .subnav-list {
        flex-wrap: wrap;
        gap: 0;
    }

    .subnav-link {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
}

/* ============================================
   TREATMENT SECTION LAYOUT
   ============================================ */
.treatment-section {
    position: relative;
    padding: 80px 0;
    background: #FAF6F3 !important;
    border-top: 1px solid rgba(215, 149, 130, 0.28);
    border-bottom: 1px solid rgba(215, 149, 130, 0.38);
    box-shadow: inset 0 1px 0 rgba(250, 246, 243, 0.35);
}

.treatment-section:nth-of-type(even) {
    background: #F2E2DE !important;
}

.treatment-section:first-of-type {
    border-top: none;
}

.treatment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(220px, 36%);
    height: 2px;
    background: #D79582;
    opacity: 0.7;
}

.treatment-section:first-of-type::before {
    display: none;
}

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

.treatment-section h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.treatment-section h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
}

/* ============================================
   ABOUT SECTION (Two Column + Gallery)
   ============================================ */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.about-content h3 {
    margin-top: 0;
}

.about-content p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}

.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.badge {
    background: var(--neutral-surface);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--accent-light);
}

.badge::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
}

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

.gallery-item {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-light);
    box-shadow: 0 8px 24px rgba(158, 42, 54, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(158, 42, 54, 0.16);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    background: linear-gradient(135deg, #FAF6F3 0%, #FAF6F3 100%);
    font-size: 3rem;
}

/* Mobile: Stack to single column */
@media (max-width: 1024px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

/* ============================================
   BENEFITS GRID (2x2 or 3x2)
   ============================================ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Slightly tighter cards for Benefits section + fixed 3-column on desktop */
#section-benefits .benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

#section-benefits .benefit-card {
    padding: 20px 18px;
    border-radius: 12px;
}

#section-benefits .benefit-card h4 {
    font-size: 0.98rem;
}

#section-benefits .benefit-card p {
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    #section-benefits .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    #section-benefits .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Benefits + Results paired layout */
.benefits-results-wrap {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1.2fr);
    gap: 32px;
    align-items: start;
}

#section-benefits .benefits-results-wrap {
    grid-template-columns: minmax(320px, 1fr) !important;
    justify-content: center;
}

#section-benefits .benefits-panel {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

#section-benefits .results-panel {
    display: none !important;
}

.results-panel {
    display: flex;
    align-items: stretch;
}

.results-card {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.results-media {
    aspect-ratio: 16 / 9;
    min-height: 420px;
    background: none;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 110%;
    transform: translate(0, 0);
    overflow: hidden;
    margin-top: 120px;
}

.results-media .gallery-placeholder {
    width: 105%;
    height: 105%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.4rem;
    color: var(--text-light);
    border: 3px solid var(--accent-color);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(158, 42, 54, 0.22);
}

.results-body {
    padding: 10px 0 0;
    display: grid;
    gap: 10px;
}

.results-body h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.results-body p {
    margin: 0;
    color: var(--text-medium);
}

.results-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.results-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 600;
}

.results-list i {
    color: var(--accent-color);
}

@media (max-width: 1024px) {
    .benefits-results-wrap {
        grid-template-columns: 1fr;
    }

    .results-card {
        flex-direction: column;
    }
}

.benefit-card {
    background: linear-gradient(135deg, #FAF6F3 0%, #FAF6F3 100%);
    border: 1px solid rgba(214, 173, 96, 0.3);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    box-shadow: 0 6px 18px rgba(214, 173, 96, 0.12);
}

.benefit-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 40px rgba(158, 42, 54, 0.22), inset 0 0 20px rgba(215, 149, 130, 0.14);
    border-color: var(--accent-color);
}

.benefit-card .icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: 50%;
    font-size: 1.8rem;
    color: var(--accent-color);
}

.benefit-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 600;
}

.benefit-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   RESULTS CAROUSEL (Before/After)
   ============================================ */
.results-carousel {
    position: relative;
    margin: 32px 0;
    padding: 18px;
    border-radius: 14px;
    background: radial-gradient(circle at 20% 20%, rgba(215, 149, 130, 0.12), transparent 45%),
                radial-gradient(circle at 80% 0%, rgba(158, 42, 54, 0.08), transparent 40%),
                linear-gradient(135deg, #FAF6F3 0%, #FAF6F3 100%);
    border: 1px solid rgba(158, 42, 54, 0.18);
    box-shadow: 0 14px 36px rgba(158, 42, 54, 0.1);
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(158, 42, 54, 0.14);
    aspect-ratio: 16/9;
    border: 1px solid rgba(250, 246, 243, 0.6);
    background: linear-gradient(145deg, rgba(250, 246, 243, 0.6), rgba(250, 246, 243, 0.32));
    max-width: 900px;
    margin: 0 auto;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    display: flex;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    color: #FAF6F3;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 24px rgba(158, 42, 54, 0.18);
    z-index: 15;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.badge-accent { background: linear-gradient(135deg, #9E2A36 0%, #D79582 100%); }
.badge-muted { background: linear-gradient(135deg, rgba(158, 42, 54, 0.9) 0%, rgba(126, 77, 75, 0.9) 100%); }
.badge-dark { background: linear-gradient(135deg, #9E2A36 0%, #9E2A36 100%); }

.carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(158, 42, 54, 0.65), rgba(158, 42, 54, 0.25), transparent);
    padding: 28px;
    color: white;
    z-index: 10;
    display: grid;
    gap: 10px;
}

.carousel-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 0 4px 12px rgba(158, 42, 54, 0.35);
}

.result-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: rgba(250, 246, 243, 0.9);
}

.result-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(158, 42, 54, 0.35);
    box-shadow: inset 0 0 0 1px rgba(250, 246, 243, 0.1);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-button {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-button:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-light);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: var(--accent-color);
    width: 30px;
    border-radius: 5px;
}

.dot:hover {
    background: var(--primary-color);
}

/* ============================================
   ACCORDION (Steps, FAQs)
   ============================================ */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faqs-accordion {
    display: flex;
    flex-direction: row;
    gap: 24px;
    width: 100%;
}

.faqs-accordion-column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    border: 1px solid var(--accent-light);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-white);
    transition: all 0.3s ease;
    align-self: start;
    position: relative;
}

.accordion-item.open {
    box-shadow: 0 8px 24px rgba(158, 42, 54, 0.12);
    border-color: var(--accent-color);
}

.accordion-header {
    padding: 22px 24px;
    background: linear-gradient(135deg, #FAF6F3 0%, #FAF6F3 100%);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 2px 8px rgba(158, 42, 54, 0.05);
}

.accordion-item.open .accordion-header {
    background: linear-gradient(135deg, var(--accent-light) 0%, #F2E2DE 100%);
    border-left-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(158, 42, 54, 0.2);
}

.accordion-header:hover {
    background: linear-gradient(135deg, #FAF6F3 0%, var(--accent-light) 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(158, 42, 54, 0.1);
}

.accordion-header h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

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

.accordion-item.open .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out;
    display: block;
    opacity: 0;
    pointer-events: none;
}

.accordion-item.open .accordion-content {
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
}

.accordion-body {
    padding: 24px 20px;
    color: var(--text-dark);
    line-height: 1.8;
}

.accordion-body p {
    margin-bottom: 12px;
}

.accordion-body ul,
.accordion-body ol {
    margin: 16px 0 16px 24px;
}

.accordion-body li {
    margin-bottom: 8px;
    color: var(--text-medium);
}

/* ============================================
   PRICING SECTION (Two Column)
   ============================================ */
.pricing-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.pricing-layout > div:first-child h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.pricing-layout > div:last-child {
    display: flex;
    flex-direction: column;
}

.pricing-layout > div:last-child h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.pricing-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pricing-item {
    background: linear-gradient(135deg, #FAF6F3 0%, #FAF6F3 100%);
    border: 1px solid rgba(214, 173, 96, 0.3);
    padding: 20px;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 20px;
    align-items: center;
    transition: all 0.3s ease;
}

.pricing-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(158, 42, 54, 0.15);
}

.pricing-info h4 {
    margin: 0 0 6px 0;
    color: var(--primary-color);
    font-size: 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

.pricing-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.85rem;
}

.pricing-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-align: right;
    min-width: 80px;
}

/* Book Now buttons in pricing section */
.pricing-item .btn-sm,
.pricing-item .book-btn {
    margin: 0;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 2px solid var(--accent-color);
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    background: var(--gradient-gold);
    color: var(--primary-color);
    box-shadow: var(--shadow-gold);
}

.pricing-item .btn-sm.btn-primary,
.pricing-item .book-btn {
    background: var(--gradient-gold);
    color: var(--primary-color);
    box-shadow: var(--shadow-gold);
    border-color: var(--accent-color);
}

.pricing-item .btn-sm.btn-primary:hover,
.pricing-item .book-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 30px rgba(158, 42, 54, 0.35);
    border-color: var(--accent-color);
}

.pricing-item .btn-sm.btn-primary:active,
.pricing-item .book-btn:active {
    transform: translateY(-1px) scale(1.01);
}

/* ============================================
   CONTACT/ENQUIRY FORM
   ============================================ */
.enquiry-form {
    background: linear-gradient(135deg, #FAF6F3 0%, #FAF6F3 100%);
    border: 1px solid rgba(214, 173, 96, 0.3);
    padding: 40px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(214, 173, 96, 0.1);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 16px;
    border: 1px solid rgba(214, 173, 96, 0.5);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #FAF6F3;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(215, 149, 130, 0.18);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.form-checkbox input {
    margin-top: 4px;
    cursor: pointer;
    width: auto;
}

.form-submit {
    background: linear-gradient(135deg, var(--accent-color) 0%, #D79582 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(158, 42, 54, 0.28);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(250, 246, 243, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.form-submit:hover::before {
    width: 300px;
    height: 300px;
}

.form-submit:hover {
    background: linear-gradient(135deg, #D79582 0%, var(--accent-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(158, 42, 54, 0.5);
}

.form-submit:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(158, 42, 54, 0.35);
}

/* ============================================
   RELATED TREATMENTS SECTION
   ============================================ */
.related-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.related-card {
    background: var(--bg-white);
    border: 1px solid var(--accent-light);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 40px rgba(158, 42, 54, 0.15);
    border-color: var(--accent-color);
}

.related-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-light);
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card:hover .related-card-image img {
    transform: scale(1.08);
}

.related-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.related-card-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    margin: 0;
}

.related-card-desc {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.related-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--accent-light);
    font-size: 0.85rem;
    color: var(--text-light);
}

.related-card-price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
}

.related-card-cta {
    display: inline-block;
    margin-top: 16px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.related-card-cta:hover {
    color: var(--primary-color);
    gap: 8px;
}

.related-card-cta::after {
    content: ' →';
    transition: transform 0.3s ease;
}

.related-card:hover .related-card-cta::after {
    transform: translateX(4px);
}

/* ============================================
   SECTION SPACING & UTILITIES
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-medium);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Container for consistent width */
.treatment-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .pricing-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .treatment-hero h1 {
        font-size: 2.8rem;
    }

    .treatment-section {
        padding: 60px 0;
    }

    .treatment-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .treatment-hero {
        min-height: 500px;
        margin-top: 70px;
    }

    .treatment-hero h1 {
        font-size: 2.2rem;
    }

    .treatment-hero .tagline {
        font-size: 1rem;
    }

    .hero-cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-cta-buttons .btn {
        width: 100%;
    }

    .treatment-section {
        padding: 50px 0;
    }

    .treatment-section::before {
        width: min(150px, 52%);
    }

    .treatment-section h2 {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

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

    .carousel-container {
        aspect-ratio: 4/3;
    }

    .carousel-content {
        padding: 20px;
    }

    .enquiry-form {
        padding: 30px 20px;
    }

    .related-cards-grid {
        grid-template-columns: 1fr;
    }

    .faqs-accordion {
        flex-direction: column;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        padding: 24px;
    }

    .step-number {
        align-self: flex-start;
    }

    .cta-section {
        padding: 60px 20px;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }
}

/* ============================================
   ACCESSIBILITY & FOCUS STATES
   ============================================ */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: more) {
    .badge,
    .benefit-card,
    .pricing-item,
    .accordion-item,
    .related-card {
        border-width: 2px;
    }

    .accordion-header {
        font-weight: 700;
    }
}

/* ============================================
   STEPS CONTAINER
   ============================================ */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(158, 42, 54, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(158, 42, 54, 0.12);
}

.step-number {
    min-width: 50px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   FAQs CONTAINER
   ============================================ */
.faqs-container {
    display: grid;
    gap: 20px;
    margin-top: 40px;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(158, 42, 54, 0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(158, 42, 54, 0.12);
}

.faq-question {
    padding: 24px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--neutral-surface) 100%);
    color: var(--primary-color);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    font-weight: 600;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, var(--neutral-surface) 0%, var(--bg-light) 100%);
}

.faq-question i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.faq-answer {
    padding: 24px;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--bg-white);
    margin: 60px 0 0 0;
}

.cta-section h2 {
    color: var(--bg-white);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-section p {
    color: var(--accent-light);
    font-size: 1.15rem;
    margin-bottom: 30px;
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   ENHANCED MOBILE OPTIMIZATION FOR COMPONENTS
   ============================================ */

/* Mobile improvements for treatment pages */
@media (max-width: 768px) {
    /* Hero section mobile */
    .treatment-hero {
        min-height: 450px;
        padding: 60px 20px 40px;
        margin-top: 70px;
    }
    
    .treatment-hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .treatment-hero .tagline {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .hero-cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .hero-cta-buttons .btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    /* Sticky subnav mobile */
    .sticky-subnav {
        top: 70px;
        padding: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .subnav-list {
        flex-wrap: nowrap;
        padding: 10px 15px;
        gap: 10px;
        overflow-x: auto;
    }
    
    .subnav-link {
        white-space: nowrap;
        padding: 10px 16px;
        font-size: 0.85rem;
        min-width: max-content;
    }
    
    /* Treatment sections mobile */
    .treatment-section {
        padding: 50px 0;
    }
    
    .treatment-section h2 {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }
    
    .treatment-section h3 {
        font-size: 1.2rem;
        margin-bottom: 16px;
    }
    
    /* About layout mobile */
    .about-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .about-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .about-badges {
        gap: 10px;
        margin-top: 20px;
    }
    
    .badge {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
    
    /* Gallery grid mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    /* Benefits mobile */
    .benefits-results-wrap {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .benefits-panel .benefits-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .benefit-card {
        padding: 25px 20px;
    }
    
    .benefit-card .icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .benefit-card h4 {
        font-size: 1.1rem;
    }
    
    .benefit-card p {
        font-size: 0.9rem;
    }
    
    /* Results panel mobile */
    .results-panel {
        margin-top: 0 !important;
    }
    
    .results-media {
        min-height: 280px;
        width: 100%;
        margin-top: 0;
    }
    
    .results-media img {
        border-width: 4px;
    }
    
    /* Carousel mobile */
    .results-carousel {
        margin: 25px 0;
        padding: 12px;
    }
    
    .carousel-container {
        aspect-ratio: 4/3;
    }
    
    .result-badge {
        top: 12px;
        left: 12px;
        font-size: 0.75rem;
        padding: 8px 12px;
    }
    
    .carousel-content {
        padding: 20px 16px;
    }
    
    .carousel-content p {
        font-size: 0.9rem;
    }
    
    .result-meta {
        gap: 10px;
        font-size: 0.8rem;
    }
    
    .result-meta span {
        padding: 6px 10px;
    }
    
    .carousel-controls {
        gap: 15px;
        margin-top: 20px;
    }
    
    .carousel-button {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    /* Accordion mobile */
    .accordion {
        gap: 12px;
    }
    
    .faqs-accordion {
        flex-direction: column;
        gap: 12px;
    }
    
    .faqs-accordion-column {
        width: 100%;
    }
    
    .accordion-item {
        margin-bottom: 12px;
    }
    
    .accordion-header {
        padding: 18px 16px;
        font-size: 1rem;
    }
    
    .accordion-header h4 {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .accordion-body {
        padding: 16px;
    }
    
    .accordion-body p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Steps container mobile */
    .steps-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .step {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .step-content h4 {
        font-size: 1.05rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    /* Pricing layout mobile */
    .pricing-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pricing-layout table {
        font-size: 0.9rem;
    }
    
    .pricing-layout th,
    .pricing-layout td {
        padding: 10px 8px;
    }
    
    /* Enquiry form mobile */
    .enquiry-form {
        padding: 0;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 0.95rem;
    }
    
    .form-submit {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
    }
    
    /* Related cards mobile */
    .related-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .related-card {
        max-width: 100%;
    }
    
    .related-card-image {
        height: 200px;
    }
    
    .related-card-content {
        padding: 18px;
    }
    
    .related-card-title {
        font-size: 1.1rem;
    }
    
    .related-card-desc {
        font-size: 0.9rem;
    }
    
    .related-card-meta {
        font-size: 0.85rem;
    }
    
    .related-card-cta {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* CTA section mobile */
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .cta-section p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
}

/* Extra small mobile specific */
@media (max-width: 480px) {
    .treatment-hero {
        min-height: 400px;
        padding: 50px 15px 35px;
    }
    
    .treatment-hero h1 {
        font-size: 1.8rem;
    }
    
    .treatment-hero .tagline {
        font-size: 0.9rem;
    }
    
    .subnav-link {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .treatment-section {
        padding: 40px 0;
    }
    
    .treatment-section h2 {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .benefit-card {
        padding: 20px 16px;
    }
    
    .gallery-item {
        height: 220px;
    }
    
    .pricing-layout table {
        font-size: 0.8rem;
    }
    
    .pricing-layout th,
    .pricing-layout td {
        padding: 8px 6px;
    }
}

/* Tablet landscape specific */
@media (min-width: 769px) and (max-width: 1024px) {
    .about-layout {
        grid-template-columns: 1fr;
    }
    
    .benefits-results-wrap {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   TREATMENT PAGE MOBILE OVERLAP GUARD
   Final safety layer for small screens.
   ============================================ */
.treatment-hero {
    margin-top: var(--header-height, 80px) !important;
}

.sticky-subnav {
    top: calc(var(--header-height, 80px) + var(--mega-nav-height, 0px)) !important;
    z-index: 900;
}

.accordion-header h4,
.pricing-info h4,
.related-card-title,
.section-header h2,
.section-header p {
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    .pricing-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pricing-price {
        text-align: left;
        min-width: 0;
    }

    .pricing-item .btn-sm,
    .pricing-item .book-btn {
        width: 100%;
        text-align: center;
    }

    .results-media {
        width: 100% !important;
        margin-top: 0 !important;
        min-height: 240px;
    }

    .results-media .gallery-placeholder {
        width: 100% !important;
        height: 100% !important;
    }
}

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

    .hero-cta-buttons .btn {
        max-width: 100%;
    }
}

/* Unified mobile layout for repeated 3-image treatment galleries */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .gallery-item {
        height: auto !important;
        aspect-ratio: 1 / 1;
    }

    .gallery-grid > .gallery-item:nth-child(3):last-child {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 9;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* iPhone Safari treatment-page sticky spacing tune-up */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 768px) {
        .treatment-hero {
            margin-top: calc(var(--header-height, 80px) + 6px) !important;
        }

        .sticky-subnav {
            top: calc(var(--header-height, 80px) + var(--mega-nav-height, 0px) + 8px) !important;
        }

        #section-about,
        #section-benefits,
        #section-results,
        #section-steps,
        #section-pricing,
        #section-faqs,
        #section-related {
            scroll-margin-top: calc(var(--header-height, 80px) + var(--mega-nav-height, 0px) + 28px) !important;
        }
    }
}





