/**
 * cranio-norman — Page Template Styles
 * v1.0.0 | 2026-03-22
 * Styles for inner pages: services, about, contact, pricing, etc.
 *
 * ✏️ CONTENT — colors, spacing, font sizes safe to change.
 */

/* ═══════════════════════════════════════════════════════════
   PAGE HEADER — title banner for inner pages
   ═══════════════════════════════════════════════════════════ */
.page-header {
    background: linear-gradient(135deg, var(--color-dark-blue) 0%, #3a3d6b 100%);
    color: var(--color-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    text-align: center;
}

.page-header__title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.page-header__subtitle {
    font-size: 1rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
}

/* ── Breadcrumbs ───────────────────────────────────────── */
.breadcrumbs {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
}

.breadcrumbs a {
    color: var(--color-primary);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .separator {
    margin: 0 0.3rem;
    color: var(--color-text-light);
}

/* ═══════════════════════════════════════════════════════════
   PAGE CONTENT — standard inner page layout
   ═══════════════════════════════════════════════════════════ */
.page-content {
    padding: var(--spacing-lg) 0;
}

.page-content h2 {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.page-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.page-content ul,
.page-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   SERVICES OVERVIEW — grid of service links
   ═══════════════════════════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.services-grid__item {
    display: block;
    padding: var(--spacing-md);
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--color-text);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.services-grid__item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.services-grid__item h3 {
    font-size: 1.1rem;
    color: var(--color-heading);
    margin-bottom: 0.5rem;
}

.services-grid__item p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   SERVICE DETAIL — single service page layout
   ═══════════════════════════════════════════════════════════ */
.service-detail {
    max-width: 800px;
    margin: 0 auto;
}

.service-detail__intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    border-left: 3px solid var(--color-primary);
    padding-left: var(--spacing-sm);
}

/* ── Conditions list (bullet symptoms) ─────────────────── */
.conditions-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-sm) 0 var(--spacing-md);
    columns: 2;
    column-gap: var(--spacing-md);
}

.conditions-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
    break-inside: avoid;
}

/* ✏️ CONTENT: bullet style safe to change */
.conditions-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE — info + map layout
   ═══════════════════════════════════════════════════════════ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin: var(--spacing-md) 0;
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: var(--spacing-sm);
}

.contact-info__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.contact-info__label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.contact-info__value {
    font-size: 0.9rem;
    color: var(--color-text);
}

.contact-info__value a {
    color: var(--color-primary);
    text-decoration: none;
}

.contact-info__value a:hover {
    text-decoration: underline;
}

/* Map embed container */
.map-embed {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.map-embed iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* ═══════════════════════════════════════════════════════════
   PRICING TABLE
   ═══════════════════════════════════════════════════════════ */
/* ✏️ CONTENT: colors and border styles safe to change */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-md) 0;
    font-size: 0.95rem;
}

.pricing-table th,
.pricing-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.pricing-table thead th {
    background: var(--color-dark-blue);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pricing-table tbody tr:nth-child(even) {
    background: var(--color-bg-alt);
}

.pricing-table .price {
    font-weight: 600;
    color: var(--color-heading);
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════
   HOURS TABLE — opening hours
   ═══════════════════════════════════════════════════════════ */
.hours-table {
    width: 100%;
    max-width: 400px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.hours-table td {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.hours-table td:first-child {
    font-weight: 600;
    color: var(--color-heading);
    padding-right: var(--spacing-md);
}

/* ═══════════════════════════════════════════════════════════
   INSURANCE LOGOS — row of recognized logos
   ═══════════════════════════════════════════════════════════ */
.insurance-logos {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    align-items: center;
    justify-content: center;
    margin: var(--spacing-md) 0;
    padding: var(--spacing-sm) 0;
}

.insurance-logos img {
    height: 40px;
    width: auto;
    opacity: 0.7;
    filter: grayscale(30%);
    transition: opacity var(--transition-base), filter var(--transition-base);
}

.insurance-logos img:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE — practitioner bio
   ═══════════════════════════════════════════════════════════ */
.about-full {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.about-full__portrait img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.about-full__bio h2 {
    margin-top: 0;
}

/* ═══════════════════════════════════════════════════════════
   PRACTICE PAGE — image gallery
   ═══════════════════════════════════════════════════════════ */
.practice-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
}

.practice-gallery img {
    width: 100%;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — inner pages
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
    .page-header__title {
        font-size: 1.5rem;
    }

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

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .conditions-list {
        columns: 1;
    }

    .about-full {
        grid-template-columns: 1fr;
    }

    .about-full__portrait {
        text-align: center;
    }

    .about-full__portrait img {
        max-width: 250px;
    }

    .practice-gallery {
        grid-template-columns: 1fr;
    }

    .pricing-table {
        font-size: 0.85rem;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 0.5rem 0.5rem;
    }
}

/* ✅ SAFE TO RUN — verified: no secrets, no dangerous permissions, no destructive operations */
