/**
 * Aspire Wellness - Pages Styles
 * Modern page hero, breadcrumbs, and content styling
 */

/* ===== PAGE HERO BANNER ===== */
.page-hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, rgba(10, 10, 26, 1) 0%, rgba(10, 10, 26, 0.95) 50%, rgba(10, 10, 26, 1) 100%);
    color: var(--neutral-white);
    overflow: hidden;
    margin-top: -80px;
}

.has-top-bar .page-hero {
    margin-top: -120px;
    padding-top: 160px;
}

@media (max-width: 767px) {
    .has-top-bar .page-hero {
        margin-top: -80px;
    }
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(248, 181, 172, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Page Hero with Background Image */
.page-hero.has-background {
    background-size: cover;
    background-position: center;
}

.page-hero.has-background::before {
    background:
        linear-gradient(135deg, rgba(10, 10, 26, 0.85) 0%, rgba(10, 10, 26, 0.5) 50%, rgba(10, 10, 26, 0.7) 100%),
        linear-gradient(to top, rgba(10, 10, 26, 0.9) 0%, transparent 40%);
}

/* Page Hero Variants */
.page-hero.page-hero-coral {
    background: linear-gradient(135deg, var(--primary-coral) 0%, var(--primary-coral-dark) 100%);
    color: var(--neutral-gray-800);
}

.page-hero.page-hero-coral::after {
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
}

.page-hero.page-hero-light {
    background: linear-gradient(135deg, var(--neutral-gray-100) 0%, var(--neutral-white) 100%);
    color: var(--neutral-gray-800);
}

.page-hero.page-hero-light::before,
.page-hero.page-hero-light::after {
    display: none;
}

/* Page Hero Content */
.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero-content.text-left {
    text-align: left;
    margin: 0;
}

/* Page Hero Subtitle */
.page-hero .section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(248, 181, 172, 0.2);
    color: var(--primary-coral);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
    border: 1px solid rgba(248, 181, 172, 0.3);
}

.page-hero.page-hero-coral .section-subtitle {
    background: rgba(255, 255, 255, 0.3);
    color: var(--neutral-gray-800);
    border-color: rgba(255, 255, 255, 0.4);
}

.page-hero.page-hero-light .section-subtitle {
    background: var(--primary-coral-light);
    color: var(--primary-coral-dark);
    border-color: var(--primary-coral);
}

/* Page Hero Title */
.page-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-4);
    color: inherit;
}

.page-hero-title span {
    color: var(--primary-coral);
}

.page-hero.page-hero-coral .page-hero-title span {
    color: var(--neutral-white);
}

/* Page Hero Description */
.page-hero-description {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto var(--space-6);
}

.page-hero-content.text-left .page-hero-description {
    margin-left: 0;
    margin-right: 0;
}

/* Page Hero Meta */
.page-hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.page-hero-content.text-left .page-hero-meta {
    justify-content: flex-start;
}

.page-hero-meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    opacity: 0.8;
}

.page-hero-meta-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary-coral);
}

/* Page Hero Actions */
.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-8);
}

.page-hero-content.text-left .page-hero-actions {
    justify-content: flex-start;
}

/* Page Hero Decorative Elements */
.page-hero-decoration {
    position: absolute;
    pointer-events: none;
}

.page-hero-decoration-1 {
    top: 20%;
    left: 5%;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(248, 181, 172, 0.2);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.page-hero-decoration-2 {
    bottom: 20%;
    right: 10%;
    width: 60px;
    height: 60px;
    background: rgba(248, 181, 172, 0.1);
    border-radius: var(--radius-lg);
    transform: rotate(45deg);
    animation: float 6s ease-in-out infinite reverse;
}

.page-hero-decoration-3 {
    top: 40%;
    right: 5%;
    width: 20px;
    height: 20px;
    background: var(--primary-coral);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

/* ===== BREADCRUMBS BAR (Below Hero) ===== */
.breadcrumbs-bar {
    background: var(--neutral-gray-100);
    border-bottom: 1px solid var(--neutral-gray-200);
    padding: var(--space-4) 0;
}

.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: var(--text-sm);
}

.breadcrumbs-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.breadcrumbs-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--neutral-gray-600);
    transition: all var(--transition-fast);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
}

.breadcrumbs-link:hover {
    color: var(--primary-coral-dark);
    background: var(--neutral-white);
}

.breadcrumbs-link svg {
    width: 16px;
    height: 16px;
}

.breadcrumbs-separator {
    color: var(--neutral-gray-400);
    font-size: var(--text-xs);
}

.breadcrumbs-separator svg {
    width: 14px;
    height: 14px;
}

.breadcrumbs-current {
    color: var(--neutral-gray-800);
    font-weight: var(--font-semibold);
    padding: var(--space-1) var(--space-2);
    background: var(--neutral-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--neutral-gray-200);
}

/* ===== PAGE CONTENT ===== */
.page-content {
    padding: var(--space-16) 0;
}

.page-content-narrow {
    max-width: 800px;
    margin: 0 auto;
}

/* Entry Content (Prose) */
.entry-content {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--neutral-gray-700);
}

.entry-content h2 {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--neutral-gray-800);
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--primary-coral-light);
}

.entry-content h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--neutral-gray-800);
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
}

.entry-content h4 {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--neutral-gray-800);
    margin-top: var(--space-6);
    margin-bottom: var(--space-2);
}

.entry-content p {
    margin-bottom: var(--space-4);
}

.entry-content a {
    color: var(--primary-coral-dark);
    text-decoration: underline;
    text-decoration-color: var(--primary-coral-light);
    text-underline-offset: 2px;
    transition: all var(--transition-fast);
}

.entry-content a:hover {
    color: var(--primary-coral);
    text-decoration-color: var(--primary-coral);
}

.entry-content ul,
.entry-content ol {
    margin-bottom: var(--space-4);
    padding-left: var(--space-6);
}

.entry-content ul {
    list-style: none;
}

.entry-content ul li {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-2);
}

.entry-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--primary-coral);
    border-radius: 50%;
}

.entry-content ol li {
    margin-bottom: var(--space-2);
}

.entry-content blockquote {
    position: relative;
    margin: var(--space-8) 0;
    padding: var(--space-6) var(--space-8);
    background: linear-gradient(135deg, var(--primary-coral-light) 0%, var(--neutral-gray-100) 100%);
    border-left: 4px solid var(--primary-coral);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-style: italic;
}

.entry-content blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--primary-coral);
    opacity: 0.3;
    line-height: 1;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: var(--space-6) 0;
}

.entry-content figure {
    margin: var(--space-8) 0;
}

.entry-content figcaption {
    font-size: var(--text-sm);
    color: var(--neutral-gray-500);
    text-align: center;
    margin-top: var(--space-2);
}

.entry-content .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: var(--space-6) 0;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-6) 0;
    font-size: var(--text-base);
}

.entry-content th,
.entry-content td {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--neutral-gray-200);
}

.entry-content th {
    background: var(--neutral-gray-100);
    font-weight: var(--font-semibold);
    color: var(--neutral-gray-800);
}

.entry-content tr:hover td {
    background: var(--neutral-gray-50);
}

.entry-content code {
    padding: var(--space-1) var(--space-2);
    background: var(--neutral-gray-100);
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-size: 0.9em;
    color: var(--primary-coral-dark);
}

.entry-content pre {
    padding: var(--space-6);
    background: var(--secondary-charcoal);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin: var(--space-6) 0;
}

.entry-content pre code {
    padding: 0;
    background: none;
    color: var(--neutral-gray-200);
}

.entry-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-coral), transparent);
    margin: var(--space-10) 0;
}

/* ===== PAGE LAYOUTS ===== */

/* Two Column Layout */
.page-layout-two-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
}

@media (min-width: 1024px) {
    .page-layout-two-column {
        grid-template-columns: 2fr 1fr;
    }

    .page-layout-two-column.sidebar-left {
        grid-template-columns: 1fr 2fr;
    }

    .page-layout-two-column.sidebar-left .page-sidebar {
        order: -1;
    }
}

/* Page Sidebar */
.page-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.sidebar-widget {
    background: var(--neutral-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--neutral-gray-100);
}

.sidebar-widget-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--neutral-gray-800);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--primary-coral);
}

/* CTA Widget */
.sidebar-cta {
    background: linear-gradient(135deg, var(--primary-coral) 0%, var(--primary-coral-dark) 100%);
    color: var(--neutral-gray-800);
    text-align: center;
}

.sidebar-cta-title {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-3);
}

.sidebar-cta-text {
    margin-bottom: var(--space-5);
    opacity: 0.9;
}

/* Contact Widget */
.sidebar-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--neutral-gray-100);
}

.sidebar-contact-item:last-child {
    border-bottom: none;
}

.sidebar-contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-coral-light);
    border-radius: var(--radius-md);
    color: var(--primary-coral-dark);
    flex-shrink: 0;
}

.sidebar-contact-icon svg {
    width: 18px;
    height: 18px;
}

.sidebar-contact-label {
    font-size: var(--text-xs);
    color: var(--neutral-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-contact-value {
    font-weight: var(--font-medium);
    color: var(--neutral-gray-800);
}

.sidebar-contact-value a {
    color: inherit;
}

.sidebar-contact-value a:hover {
    color: var(--primary-coral-dark);
}

/* ===== SECTION STYLES ===== */
.section {
    padding: var(--space-16) 0;
}

.section-gray {
    background-color: var(--neutral-gray-100);
}

.section-dark {
    background-color: var(--secondary-charcoal);
    color: var(--neutral-white);
}

.section-coral {
    background: linear-gradient(135deg, var(--primary-coral) 0%, var(--primary-coral-dark) 100%);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-12);
}

.section-header.text-left {
    text-align: left;
    margin-left: 0;
}

.section-subtitle {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-coral-dark);
    margin-bottom: var(--space-3);
}

.section-dark .section-subtitle {
    color: var(--primary-coral);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, var(--text-4xl));
    font-weight: var(--font-bold);
    color: var(--neutral-gray-800);
    margin-bottom: var(--space-4);
}

.section-dark .section-title {
    color: var(--neutral-white);
}

.section-description {
    font-size: var(--text-lg);
    color: var(--neutral-gray-600);
    line-height: var(--leading-relaxed);
}

.section-dark .section-description {
    color: var(--neutral-gray-300);
}

/* ===== CARDS GRID ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cards-grid.grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

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

/* ===== FEATURE BOX ===== */
.feature-box {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--neutral-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--neutral-gray-100);
    transition: all var(--transition-normal);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-coral-light);
}

.feature-box-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-coral);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.feature-box-icon svg {
    width: 28px;
    height: 28px;
    color: var(--neutral-gray-800);
}

.feature-box-content h3 {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--neutral-gray-800);
    margin-bottom: var(--space-2);
}

.feature-box-content p {
    font-size: var(--text-base);
    color: var(--neutral-gray-600);
    margin: 0;
    line-height: var(--leading-relaxed);
}

/* ===== INFO CARDS ===== */
.info-card {
    background: var(--neutral-white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--neutral-gray-100);
    text-align: center;
    transition: all var(--transition-normal);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.info-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-5);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-coral);
    border-radius: var(--radius-full);
}

.info-card-icon svg {
    width: 40px;
    height: 40px;
    color: var(--neutral-gray-800);
}

.info-card-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--neutral-gray-800);
    margin-bottom: var(--space-3);
}

.info-card-text {
    color: var(--neutral-gray-600);
    line-height: var(--leading-relaxed);
}

/* ===== PAGE CTA SECTION ===== */
.page-cta {
    background: linear-gradient(135deg, rgba(10, 10, 26, 0.95) 0%, rgba(10, 10, 26, 0.88) 50%, rgba(10, 10, 26, 0.95) 100%);
    padding: var(--space-16) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(248, 181, 172, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.page-cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.page-cta-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--neutral-white);
    margin-bottom: var(--space-4);
}

.page-cta-text {
    font-size: var(--text-lg);
    color: var(--neutral-gray-300);
    margin-bottom: var(--space-8);
}

.page-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
}

/* ===== ARCHIVE / LIST PAGES ===== */
.archive-header {
    margin-bottom: var(--space-8);
}

.archive-description {
    font-size: var(--text-lg);
    color: var(--neutral-gray-600);
    max-width: 700px;
}

.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 767px) {
    .page-hero {
        padding: 100px 0 50px;
    }

    .page-hero .breadcrumbs {
        top: 85px;
    }

    .page-hero-title {
        font-size: var(--text-2xl);
    }

    .page-hero-description {
        font-size: var(--text-base);
    }

    .page-content {
        padding: var(--space-10) 0;
    }

    .section {
        padding: var(--space-10) 0;
    }

    .page-hero-decoration {
        display: none;
    }
}

/* ===== CONTACT PAGE ===== */
.contact-section {
    background-color: var(--neutral-gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1.2fr 1fr;
        align-items: start;
    }
}

.contact-form-wrapper .card {
    border: none;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper .card-body {
    padding: var(--space-8);
}

@media (min-width: 768px) {
    .contact-form-wrapper .card-body {
        padding: var(--space-10);
    }
}

.contact-form-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
    color: var(--secondary-charcoal);
}

.contact-form-subtitle {
    color: var(--neutral-gray-600);
    margin-bottom: var(--space-6);
}

.contact-quick-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.contact-quick-actions .btn {
    justify-content: center;
}

.contact-info-wrapper {
    position: static;
}

@media (min-width: 1024px) {
    .contact-info-wrapper {
        position: sticky;
        top: 100px;
    }
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-info-card {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    background-color: var(--neutral-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-info-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.contact-info-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--overlay-coral);
    color: var(--primary-coral-dark);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.contact-info-content {
    flex: 1;
}

.contact-info-content h3 {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--neutral-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-1);
}

.contact-info-content p {
    font-size: var(--text-base);
    color: var(--secondary-charcoal);
    margin: 0;
    font-weight: var(--font-medium);
}

.contact-info-content a {
    color: var(--secondary-charcoal);
    transition: color var(--transition-fast);
}

.contact-info-content a:hover {
    color: var(--primary-coral-dark);
}

/* Form message container */
.form-message {
    display: none;
    margin-top: var(--space-4);
}

.form-message.visible {
    display: block;
}

/* Full Width Map Section */
.contact-map-section {
    background-color: var(--secondary-charcoal);
}

.contact-map-header {
    padding: var(--space-8) 0;
    text-align: center;
}

.contact-map-title {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--neutral-white);
    font-size: var(--text-xl);
    margin: 0;
}

.contact-map-title svg {
    color: var(--primary-coral);
}

.contact-map-wrapper {
    width: 100%;
    line-height: 0;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 350px;
    border: none;
    display: block;
}

@media (min-width: 768px) {
    .contact-map-wrapper iframe {
        height: 450px;
    }
}

@media (min-width: 1024px) {
    .contact-map-wrapper iframe {
        height: 550px;
    }
}

/* Legacy map section (for backwards compatibility) */
.map-section {
    padding: var(--space-16) 0;
    background-color: var(--neutral-gray-100);
}

.map-section iframe {
    border: 0;
    border-radius: var(--radius-lg);
}

/* ===== FAQ PAGE ===== */
.faq-search-section {
    padding: var(--space-8) 0;
    background-color: var(--neutral-white);
    border-bottom: 1px solid var(--neutral-gray-200);
}

.faq-search-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.faq-search-form {
    display: flex;
    position: relative;
}

.faq-search-input {
    flex: 1;
    padding: var(--space-4) var(--space-6);
    padding-right: var(--space-14);
    border: 2px solid var(--neutral-gray-200);
    border-radius: var(--radius-full);
    font-size: var(--text-lg);
    transition: border-color var(--transition-fast);
}

.faq-search-input:focus {
    outline: none;
    border-color: var(--primary-coral);
}

.faq-search-btn {
    position: absolute;
    right: var(--space-2);
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-coral-dark);
    color: var(--neutral-gray-800);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.faq-search-btn:hover {
    background-color: var(--primary-coral-darker);
}

.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
    margin-bottom: var(--space-10);
}

.faq-tab {
    padding: var(--space-2) var(--space-5);
    border: 2px solid var(--neutral-gray-200);
    border-radius: var(--radius-full);
    background-color: var(--neutral-white);
    color: var(--neutral-gray-600);
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.faq-tab:hover {
    border-color: var(--primary-coral);
    color: var(--neutral-gray-800);
}

.faq-tab.active {
    background-color: var(--primary-coral-dark);
    border-color: var(--primary-coral-dark);
    color: var(--neutral-gray-800);
}

.faq-no-results {
    display: none;
    text-align: center;
    padding: var(--space-12);
    color: var(--neutral-gray-600);
}

.faq-no-results.visible {
    display: block;
}

.faq-no-results p {
    font-size: var(--text-lg);
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--neutral-gray-200);
}

.faq-item.hidden {
    display: none;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-5) 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--secondary-charcoal);
    transition: color var(--transition-fast);
    gap: var(--space-4);
}

.faq-question:hover {
    color: var(--primary-coral-dark);
}

.faq-question span {
    flex: 1;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--primary-coral-dark);
    transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 0 var(--space-5);
    color: var(--neutral-gray-600);
    line-height: var(--leading-relaxed);
    font-size: var(--text-base);
}

.faq-answer-content p {
    margin: 0 0 var(--space-3);
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

/* Light coral background variant for page hero */
.bg-coral-light {
    background: linear-gradient(135deg, var(--primary-coral-light) 0%, var(--neutral-off-white) 100%);
}

.bg-coral-light .section-subtitle {
    color: var(--primary-coral-text);
}

/* ===== BOOK APPOINTMENT PAGE ===== */
.appointment-form-message {
    display: none;
    margin-top: var(--space-4);
}

.appointment-form-message.visible {
    display: block;
}

/* ===== ARCHIVE FAQ PAGE ===== */
.faq-cta-buttons {
    display: flex;
    justify-content: center;
    margin-top: var(--space-6);
}

/* ===== ARCHIVE PAGE STYLES ===== */

/* Service Archive */
.service-archive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .service-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .service-archive-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Team Archive */
.team-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .team-archive-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-archive-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Testimonial Archive */
.testimonial-archive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .testimonial-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonial-archive-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Video Archive */
.video-archive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .video-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .video-archive-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* FAQ Archive */
.faq-archive-grid {
    max-width: 900px;
    margin: 0 auto;
}

/* Archive Filters */
.archive-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--neutral-gray-200);
}

.archive-filter-btn {
    padding: var(--space-2) var(--space-4);
    border: 1px solid var(--neutral-gray-300);
    border-radius: var(--radius-full);
    background-color: var(--neutral-white);
    color: var(--neutral-gray-600);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.archive-filter-btn:hover {
    border-color: var(--primary-coral);
    color: var(--primary-coral-text);
}

.archive-filter-btn.active {
    background-color: var(--primary-coral-dark);
    border-color: var(--primary-coral-dark);
    color: var(--neutral-gray-800);
}

/* Archive Empty State */
.archive-empty {
    text-align: center;
    padding: var(--space-16) var(--space-8);
    background-color: var(--neutral-gray-100);
    border-radius: var(--radius-xl);
}

.archive-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--neutral-gray-200);
    border-radius: var(--radius-full);
    color: var(--neutral-gray-400);
}

.archive-empty-icon svg {
    width: 40px;
    height: 40px;
}

.archive-empty-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--neutral-gray-700);
    margin-bottom: var(--space-3);
}

.archive-empty-text {
    font-size: var(--text-base);
    color: var(--neutral-gray-500);
    max-width: 400px;
    margin: 0 auto;
}

/* Archive Load More */
.archive-load-more {
    display: flex;
    justify-content: center;
    margin-top: var(--space-12);
}

/* Archive Sidebar */
.archive-layout-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
}

@media (min-width: 1024px) {
    .archive-layout-sidebar {
        grid-template-columns: 1fr 320px;
    }
}

/* Archive Sorting */
.archive-sorting {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.archive-sorting label {
    font-size: var(--text-sm);
    color: var(--neutral-gray-600);
    white-space: nowrap;
}

.archive-sorting select {
    padding: var(--space-2) var(--space-8) var(--space-2) var(--space-3);
    border: 1px solid var(--neutral-gray-300);
    border-radius: var(--radius-md);
    background-color: var(--neutral-white);
    font-size: var(--text-sm);
    color: var(--neutral-gray-700);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234B5563' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-2) center;
}

.archive-results-count {
    font-size: var(--text-sm);
    color: var(--neutral-gray-500);
    margin-left: auto;
}

/* ===== 404 PAGE ===== */
.error-404-links {
    background: var(--neutral-gray-100);
}

.quick-link-card {
    display: block;
    padding: var(--space-8);
    background: var(--neutral-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--neutral-gray-100);
    text-align: center;
    transition: all var(--transition-normal);
}

.quick-link-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-coral-light);
}

.quick-link-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-coral);
    border-radius: var(--radius-lg);
}

.quick-link-icon svg {
    width: 32px;
    height: 32px;
    color: var(--neutral-gray-800);
}

.quick-link-card h3 {
    font-size: var(--text-lg);
    color: var(--neutral-gray-800);
    margin-bottom: var(--space-2);
}

.quick-link-card p {
    font-size: var(--text-sm);
    color: var(--neutral-gray-600);
    margin: 0;
}

/* Outline Light Button (used on dark backgrounds) */
.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--neutral-white);
    background: transparent;
}

.btn-outline-light:hover {
    border-color: var(--neutral-white);
    background: rgba(255, 255, 255, 0.1);
    color: var(--neutral-white);
}

/* ===== UTILITY CLASSES ===== */
.hidden {
    display: none !important;
}
