/**
 * Classic Clinical Design System Stylesheet
 * PCOS Ferticure Aesthetics & Dermatology Pilot
 * Palette: Navy (#0c2340), Light Blue (#f0f7fc), Magenta (#9b2c63), Crisp White (#fff)
 */

:root {
    --cc-navy: #0c2340;
    --cc-navy-dark: #071526;
    --cc-navy-light: #16365c;
    --cc-blue-bg: #f0f7fc;
    --cc-blue-card: #f4f9fd;
    --cc-blue-border: #dbeafe;
    --cc-blue-accent: #0284c7;
    --cc-magenta: #9b2c63;
    --cc-magenta-hover: #832152;
    --cc-magenta-light: #fce7f3;
    --cc-green: #16a34a;
    --cc-ink: #1e293b;
    --cc-muted: #475569;
    --cc-line: #e2e8f0;
    --cc-card-bg: #ffffff;
    --cc-radius-sm: 8px;
    --cc-radius-md: 14px;
    --cc-radius-lg: 18px;
}

/* ==========================================================================
   Preview Mode Notification Bar
   ========================================================================== */
.cc-preview-bar {
    background: #0f172a;
    color: #e2e8f0;
    padding: 10px 24px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 99999;
    box-sizing: border-box;
}
.cc-preview-bar strong {
    color: #38bdf8;
    margin-right: 6px;
}
.cc-preview-bar a {
    color: #fce7f3;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(155, 44, 99, 0.4);
    border: 1px solid rgba(155, 44, 99, 0.6);
    transition: background 0.15s ease;
}
.cc-preview-bar a:hover {
    background: rgba(155, 44, 99, 0.8);
    color: #ffffff;
}

/* ==========================================================================
   Page Scope & Breadcrumbs
   ========================================================================== */
.cc-page {
    color: var(--cc-ink);
    font-family: 'DM Sans', Arial, -apple-system, sans-serif;
    line-height: 1.6;
    background: #ffffff;
}

.cc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.cc-breadcrumbs {
    padding: 14px 24px;
    font-size: 13px;
    color: var(--cc-muted);
}
.cc-breadcrumbs a {
    color: var(--cc-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}
.cc-breadcrumbs a:hover {
    color: var(--cc-navy);
}
.cc-breadcrumbs-sep {
    margin: 0 8px;
    color: #cbd5e1;
}
.cc-breadcrumbs-cur {
    color: var(--cc-navy);
    font-weight: 600;
}

/* ==========================================================================
   Section 1: Hero Banner (Two-Column Desktop, Navy / Light Blue / Magenta)
   ========================================================================== */
.cc-hero-section {
    background: var(--cc-blue-bg);
    padding: 44px 0 48px;
    border-bottom: 1px solid var(--cc-blue-border);
}

.cc-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 40px;
    align-items: center;
}

.cc-hero-content {
    min-width: 0;
}

.cc-hero-eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--cc-magenta);
    margin-bottom: 6px;
    display: block;
}

.cc-hero-badge {
    display: inline-block;
    background: #ffffff;
    color: var(--cc-navy);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #bfdbfe;
    margin-bottom: 14px;
}

.cc-hero-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--cc-navy);
    line-height: 1.2;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

.cc-hero-lead {
    font-size: 15.5px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 22px;
}

.cc-hero-features {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.cc-feature-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 700;
    color: var(--cc-navy);
}

.cc-feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #bfdbfe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cc-blue-accent);
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.08);
}
.cc-feature-icon svg {
    width: 17px;
    height: 17px;
}

.cc-hero-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.cc-btn-primary {
    background: var(--cc-magenta);
    color: #ffffff;
    padding: 13px 26px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(155, 44, 99, 0.28);
    transition: background 0.15s ease, transform 0.1s ease;
    cursor: pointer;
}
.cc-btn-primary:hover {
    background: var(--cc-magenta-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

.cc-btn-outline {
    background: #ffffff;
    color: var(--cc-navy);
    border: 2px solid var(--cc-navy);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s ease;
    cursor: pointer;
}
.cc-btn-outline:hover {
    background: var(--cc-navy);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Actual CMS Hero Image Frame */
.cc-hero-media {
    min-width: 0;
    display: flex;
    justify-content: center;
}
.cc-hero-image-card {
    position: relative;
    border-radius: var(--cc-radius-lg);
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(12, 35, 64, 0.08);
    border: 3px solid #ffffff;
    width: 100%;
    max-width: 520px;
}
.cc-hero-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: cover;
    object-position: center;
    border-radius: calc(var(--cc-radius-lg) - 3px);
}

/* ==========================================================================
   Section 2 & 3: Understanding Acne Scars & Common Types / Identifier Tool
   ========================================================================== */
.cc-scars-overview-section {
    padding: 40px 0;
}

.cc-scars-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 40px;
    align-items: start;
}

.cc-scars-info {
    min-width: 0;
}

.cc-accent-heading {
    font-size: 28px;
    font-weight: 800;
    color: var(--cc-navy);
    line-height: 1.25;
    margin: 0 0 16px;
    position: relative;
    padding-bottom: 12px;
}
.cc-accent-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3.5px;
    background: var(--cc-navy);
    border-radius: 2px;
}

.cc-prose-text {
    font-size: 15px;
    color: #334155;
    line-height: 1.65;
    margin: 0 0 14px;
}

/* Common Types Card */
.cc-types-card {
    background: var(--cc-blue-card);
    border: 1px solid var(--cc-blue-border);
    border-radius: var(--cc-radius-md);
    padding: 24px 26px;
    box-shadow: 0 4px 18px rgba(12, 35, 64, 0.04);
}

.cc-types-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.cc-types-card-icon {
    width: 40px;
    height: 40px;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cc-blue-accent);
    flex-shrink: 0;
}
.cc-types-card-icon svg {
    width: 22px;
    height: 22px;
}

.cc-types-card-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--cc-navy);
    margin: 0;
    line-height: 1.25;
}

.cc-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cc-check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--cc-ink);
}

.cc-check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e0f2fe;
    border: 1.5px solid #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0284c7;
    flex-shrink: 0;
    margin-top: 1px;
}
.cc-check-icon svg {
    width: 12px;
    height: 12px;
    stroke-width: 3;
}

/* Interactive Scar Identifier Tool inside card */
.cc-tool-box {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed #cbd5e1;
}
.cc-tool-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cc-navy);
    margin-bottom: 10px;
    display: block;
}
.cc-selector-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
button.cc-option-btn {
    background: #ffffff;
    border: 1.5px solid #94a3b8;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cc-navy);
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}
button.cc-option-btn:hover {
    border-color: var(--cc-blue-accent);
    background: #f0f9ff;
    color: #0369a1;
}
button.cc-option-btn.cc-active {
    border-color: #0284c7;
    background: #0284c7;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}
.cc-tool-result {
    margin-top: 12px;
    padding: 12px 14px;
    background: #ffffff;
    border-left: 3.5px solid var(--cc-blue-accent);
    border-radius: 6px;
    font-size: 13.5px;
    color: #0f172a;
    line-height: 1.5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

/* ==========================================================================
   Section 4: Acne Scar Treatment Options (Uniform Cards Grid)
   ========================================================================== */
.cc-treatments-section {
    background: #f8fafc;
    padding: 40px 0;
    border-top: 1px solid var(--cc-line);
    border-bottom: 1px solid var(--cc-line);
}

.cc-section-header-center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 28px;
}

.cc-section-title-center {
    font-size: 28px;
    font-weight: 800;
    color: var(--cc-navy);
    line-height: 1.25;
    margin: 0 0 8px;
}

.cc-section-subtitle-center {
    font-size: 15px;
    color: var(--cc-muted);
    line-height: 1.55;
    margin: 0;
}

.cc-treatment-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
.cc-treatment-cards-grid.cards-count-4 {
    grid-template-columns: repeat(4, 1fr);
}

.cc-treatment-card {
    background: #ffffff;
    border-radius: var(--cc-radius-md);
    overflow: hidden;
    border: 1px solid var(--cc-line);
    box-shadow: 0 4px 16px rgba(12, 35, 64, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.cc-treatment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(12, 35, 64, 0.09);
}

.cc-treatment-card-media {
    width: 100%;
    height: 180px;
    min-height: 180px;
    max-height: 180px;
    overflow: hidden;
    background: #e2e8f0;
    position: relative;
}
.cc-treatment-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cc-treatment-card-body {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.cc-treatment-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--cc-navy);
    margin: 0 0 10px;
    line-height: 1.3;
}

.cc-treatment-card-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.55;
    margin: 0;
    flex-grow: 1;
}

/* ==========================================================================
   Section 5: The Treatment Process & Benefits You Can Expect
   ========================================================================== */
.cc-process-section {
    padding: 40px 0;
}

.cc-process-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 40px;
    align-items: start;
}

.cc-process-heading {
    font-size: 26px;
    font-weight: 800;
    color: var(--cc-navy);
    margin: 0 0 18px;
}

.cc-timeline-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
}

.cc-timeline-step {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.cc-timeline-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #bfdbfe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cc-blue-accent);
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.1);
}
.cc-timeline-icon svg {
    width: 20px;
    height: 20px;
}

.cc-timeline-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--cc-navy);
    line-height: 1.35;
}

.cc-timeline-arrow {
    color: #94a3b8;
    font-size: 16px;
    line-height: 1;
    margin-top: 14px;
    flex-shrink: 0;
}

/* Benefits Column */
.cc-benefits-card {
    border-left: 1px solid var(--cc-line);
    padding-left: 36px;
}

.cc-benefits-heading {
    font-size: 24px;
    font-weight: 800;
    color: var(--cc-navy);
    margin: 0 0 18px;
}

.cc-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cc-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--cc-ink);
    line-height: 1.45;
}

.cc-benefit-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dcfce7;
    border: 1.5px solid var(--cc-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cc-green);
    flex-shrink: 0;
    margin-top: 1px;
}
.cc-benefit-icon svg {
    width: 12px;
    height: 12px;
    stroke-width: 3;
}

/* ==========================================================================
   Section: Treatment Depth Finder Interactive Tool
   ========================================================================== */
.cc-depth-section {
    background: #f8fafc;
    padding: 36px 0;
    border-top: 1px solid var(--cc-line);
    border-bottom: 1px solid var(--cc-line);
}

.cc-depth-card {
    background: #ffffff;
    border: 1px solid var(--cc-line);
    border-radius: var(--cc-radius-lg);
    padding: 32px 36px;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 4px 18px rgba(12, 35, 64, 0.04);
}
.cc-depth-card h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--cc-navy);
    margin: 0 0 8px;
}
.cc-depth-card p {
    font-size: 14.5px;
    color: var(--cc-muted);
    margin: 0 0 20px;
}

.cc-depth-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.cc-select {
    padding: 11px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: var(--cc-navy);
    background: #ffffff;
    font-family: inherit;
    font-weight: 600;
    min-width: 280px;
    box-sizing: border-box;
}
.cc-select:focus {
    border-color: var(--cc-blue-accent);
    outline: none;
}

.cc-depth-note {
    font-size: 12.5px;
    color: #64748b;
    margin-top: 16px;
}

/* ==========================================================================
   Section: Treatments Gallery
   ========================================================================== */
.cc-gallery-section {
    padding: 36px 0;
}
.cc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 24px;
}
.cc-gallery-card {
    background: #ffffff;
    border: 1px solid var(--cc-line);
    border-radius: var(--cc-radius-md);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.cc-gallery-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.cc-gallery-caption {
    padding: 12px 16px;
    font-size: 13px;
    color: var(--cc-muted);
    font-weight: 600;
    border-top: 1px solid #f1f5f9;
}

/* ==========================================================================
   Section: About Your Doctor & Frequently Asked Questions
   ========================================================================== */
.cc-doctor-faq-section {
    padding: 40px 0;
}

.cc-doctor-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 40px;
    align-items: start;
}

.cc-faq-heading {
    font-size: 26px;
    font-weight: 800;
    color: var(--cc-navy);
    margin: 0 0 20px;
}

/* Doctor Bio Card */
.cc-doctor-card {
    background: #ffffff;
    border: 1px solid var(--cc-line);
    border-radius: var(--cc-radius-lg);
    padding: 24px;
    box-shadow: 0 6px 20px rgba(12, 35, 64, 0.05);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.cc-doctor-photo {
    width: 120px;
    height: 132px;
    border-radius: 14px;
    object-fit: cover;
    object-position: top center;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 12px rgba(12, 35, 64, 0.1);
    flex-shrink: 0;
}

.cc-doctor-info {
    flex-grow: 1;
}

.cc-doctor-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--cc-navy);
    margin: 0 0 4px;
}

.cc-doctor-creds {
    font-size: 13px;
    color: var(--cc-muted);
    line-height: 1.4;
    margin-bottom: 12px;
}

.cc-badge-magenta {
    display: inline-block;
    background: var(--cc-magenta-light);
    color: var(--cc-magenta);
    font-size: 12px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #fbcfe8;
    margin-bottom: 12px;
}

.cc-doctor-bio {
    font-size: 13px;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

/* FAQs Accordion */
.cc-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cc-accordion-item {
    background: #ffffff;
    border: 1px solid var(--cc-line);
    border-radius: var(--cc-radius-sm);
    overflow: hidden;
    transition: border-color 0.15s ease;
}
.cc-accordion-item.cc-open {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(12, 35, 64, 0.04);
}

.cc-accordion-trigger {
    width: 100%;
    padding: 15px 18px;
    background: #ffffff;
    border: none;
    text-align: left;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--cc-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: background 0.15s ease;
}
.cc-accordion-trigger:hover {
    background: #f8fafc;
}

.cc-chevron {
    width: 17px;
    height: 17px;
    color: #94a3b8;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.cc-accordion-item.cc-open .cc-chevron {
    transform: rotate(180deg);
    color: var(--cc-navy);
}

.cc-accordion-content {
    padding: 0 18px 16px;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

/* ==========================================================================
   Section: Custom Saved Section Card
   ========================================================================== */
.cc-custom-section {
    padding: 32px 0;
}
.cc-custom-card {
    background: #ffffff;
    border: 1px solid var(--cc-line);
    border-radius: var(--cc-radius-md);
    padding: 32px;
    box-shadow: 0 4px 14px rgba(12, 35, 64, 0.04);
}
.cc-custom-card h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--cc-navy);
    margin: 0 0 12px;
}
.cc-custom-card p {
    font-size: 15px;
    color: #334155;
    line-height: 1.65;
    margin: 0;
}

/* ==========================================================================
   Section: Consultation CTA Card (Prominent Navy Card Banner)
   ========================================================================== */
.cc-footer-cta {
    padding: 36px 0 44px;
    background: #ffffff;
}

.cc-footer-cta-card {
    background: linear-gradient(135deg, #0c2340 0%, #071526 100%);
    border-radius: var(--cc-radius-lg);
    padding: 36px 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    box-shadow: 0 12px 36px rgba(12, 35, 64, 0.15);
}

.cc-footer-cta-title {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.25;
}

.cc-footer-cta-sub {
    font-size: 15px;
    color: #e2e8f0;
    margin: 0;
    max-width: 540px;
    line-height: 1.5;
}

.cc-footer-cta-buttons {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.cc-btn-footer-magenta {
    background: var(--cc-magenta);
    color: #ffffff;
    padding: 13px 22px;
    border-radius: 9px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(155, 44, 99, 0.35);
    transition: all 0.15s ease;
}
.cc-btn-footer-magenta:hover {
    background: var(--cc-magenta-hover);
    color: #ffffff;
    transform: translateY(-2px);
}
.cc-btn-footer-magenta strong,
.cc-btn-footer-white strong {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.2;
}
.cc-btn-footer-magenta small {
    display: block;
    font-size: 11.5px;
    color: #fce7f3;
    font-weight: 500;
    margin-top: 2px;
}

.cc-btn-footer-white {
    background: #ffffff;
    color: var(--cc-navy);
    padding: 13px 22px;
    border-radius: 9px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.15s ease;
}
.cc-btn-footer-white:hover {
    background: #f8fafc;
    color: var(--cc-navy);
    transform: translateY(-2px);
}
.cc-btn-footer-white small {
    display: block;
    font-size: 11.5px;
    color: var(--cc-navy);
    font-weight: 600;
    opacity: 0.85;
    margin-top: 2px;
}

/* ==========================================================================
   Header & Utility Bar within Classic Clinical Preview
   ========================================================================== */
.utility-bar {
    background: #071526 !important;
    color: #e2e8f0 !important;
    font-size: 12px !important;
    letter-spacing: 0.02em !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.utility-inner span {
    color: #e2e8f0 !important;
}
.utility-inner a {
    color: #fce7f3 !important;
    font-weight: 600 !important;
}
.site-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(12, 35, 64, 0.04) !important;
}
.site-header .brand strong {
    color: var(--cc-navy) !important;
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 700 !important;
}
.site-header .brand em {
    color: var(--cc-magenta) !important;
}
.site-header .nav-link {
    color: var(--cc-navy) !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
}
.site-header .nav-link.is-active,
.site-header .nav-link:hover {
    color: var(--cc-magenta) !important;
}
.site-header .nav-link.is-active::after {
    background: var(--cc-magenta) !important;
}
.site-header .header-book {
    background: var(--cc-magenta) !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(155, 44, 99, 0.25) !important;
    border: none !important;
    transition: background 0.15s ease !important;
}
.site-header .header-book:hover {
    background: var(--cc-magenta-hover) !important;
}

/* Footer within Classic Clinical Preview */
.site-footer {
    background: #071526 !important;
    color: #cbd5e1 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-top: 48px !important;
}
.site-footer .footer-grid h2 {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}
.site-footer .footer-grid a {
    color: #cbd5e1 !important;
    transition: color 0.15s ease !important;
}
.site-footer .footer-grid a:hover {
    color: #ffffff !important;
}
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
    font-size: 12.5px !important;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1080px) {
    .cc-treatment-cards-grid.cards-count-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .cc-hero-grid,
    .cc-scars-grid,
    .cc-process-grid,
    .cc-doctor-faq-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .cc-treatment-cards-grid {
        grid-template-columns: 1fr;
    }
    .cc-footer-cta-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 24px;
    }
    .cc-footer-cta-buttons {
        width: 100%;
        flex-direction: column;
    }
    .cc-btn-footer-magenta,
    .cc-btn-footer-white {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}

@media (max-width: 640px) {
    .cc-hero-section {
        padding: 30px 0;
    }
    .cc-hero-title {
        font-size: 26px;
    }
    .cc-hero-features {
        flex-direction: column;
        gap: 12px;
    }
    .cc-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .cc-btn-primary, .cc-btn-outline {
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }
    .cc-selector-options {
        grid-template-columns: 1fr;
    }
    .cc-timeline-row {
        flex-direction: column;
        gap: 16px;
    }
    .cc-timeline-step {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 14px;
    }
    .cc-timeline-arrow {
        display: none;
    }
    .cc-doctor-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .cc-badge-magenta {
        align-self: center;
    }
}

/* ==========================================================================
   Print & PDF Generation Optimization
   ========================================================================== */
@media print {
    .cc-preview-bar,
    .skip-link,
    .floating-chat,
    .back-to-top {
        display: none !important;
    }
    body, .cc-page {
        background: #ffffff !important;
        color: #000000 !important;
    }
    .cc-hero-section,
    .cc-scars-overview-section,
    .cc-treatments-section,
    .cc-process-section,
    .cc-doctor-faq-section {
        padding: 16px 0 !important;
        page-break-inside: avoid;
    }
    .cc-hero-grid,
    .cc-scars-grid,
    .cc-process-grid,
    .cc-doctor-faq-grid {
        grid-template-columns: 1.15fr 0.85fr !important;
        gap: 20px !important;
    }
    .cc-timeline-row {
        flex-direction: row !important;
        gap: 6px !important;
    }
    .cc-timeline-arrow {
        transform: none !important;
        display: block !important;
    }
    .cc-treatment-cards-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
    }
    .cc-treatment-card,
    .cc-doctor-card,
    .cc-types-card {
        page-break-inside: avoid;
    }
    .cc-footer-cta-card {
        page-break-inside: avoid;
        background: #0c2340 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
