/* ===================================
   Page-Specific Styles
   ================================== */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a5d84 100%);
    color: var(--bg-white);
    padding: 4rem 0 3rem;
    text-align: center;
}

.page-hero h1 {
    color: var(--bg-white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero .hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.main-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--secondary-color);
}

.main-content h2:first-child {
    margin-top: 0;
}

.main-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Info Boxes */
.info-box {
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-color);
}

.warning-box {
    background: #fff8e1;
    border-left-color: #ff9800;
}

.warning-box h3 {
    color: #f57c00;
    margin-bottom: 1rem;
}

.alert-box {
    background: #ffebee;
    border-left-color: var(--accent-color);
}

.alert-box h3 {
    color: var(--accent-color);
}

.info-box a {
    color: var(--accent-color);
    font-weight: 700;
}

/* Lists */
.priority-list {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.priority-list li {
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: var(--bg-white);
    border-radius: 4px;
    border-left: 4px solid var(--secondary-color);
}

.styled-list {
    list-style: none;
    padding-left: 0;
}

.styled-list li {
    padding: 1rem 1rem 1rem 3rem;
    margin-bottom: 1rem;
    background: var(--bg-light);
    border-radius: 4px;
    position: relative;
}

.styled-list li::before {
    content: "→";
    position: absolute;
    left: 1rem;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.25rem;
}

/* Elements Grid */
.elements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.element-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    border-top: 4px solid var(--primary-color);
}

.element-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.element-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* Deadline Boxes */
.deadline-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.deadline-box {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    text-align: center;
}

.deadline-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.deadline-box p {
    margin-bottom: 0.75rem;
}

.deadline-box p:last-child {
    margin-bottom: 0;
}

.deadline-box .small {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Comparison Table */
.comparison-table {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr;
    gap: 1px;
    background: var(--border-color);
}

.header-row .comparison-cell {
    background: var(--primary-color);
    color: var(--bg-white);
    font-weight: 700;
    padding: 1.5rem 1rem;
}

.comparison-cell {
    background: var(--bg-white);
    padding: 1.5rem 1rem;
}

.comparison-cell strong {
    color: var(--primary-color);
}

/* Reasons Grid */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.reason-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.reason-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary-color), #2a5d84);
    color: var(--bg-white);
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    margin: 4rem 0;
}

.cta-box h3 {
    color: var(--bg-white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Sidebar */
.sidebar {
    position: relative;
}

.sidebar-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    border: 2px solid var(--border-color);
}

.sidebar-card h3, .sidebar-card h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-card {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.contact-card h3 {
    color: var(--bg-white);
}

.contact-card p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.5rem;
}

.contact-methods {
    margin: 2rem 0;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.method-icon {
    font-size: 1.5rem;
}

.method-link {
    color: #ffd700;
    font-weight: 600;
    font-size: 1.1rem;
}

.method-link:hover {
    color: var(--bg-white);
}

.method-text {
    color: rgba(255,255,255,0.9);
    line-height: 1.4;
}

.btn-primary.full-width {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

.info-card {
    background: #fff3cd;
    border-color: #ff9800;
}

.alert-content {
    text-align: center;
}

.alert-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f57c00;
    margin-bottom: 1rem;
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-links li:last-child {
    border-bottom: none;
}

.sidebar-links a {
    color: var(--primary-color);
    font-weight: 600;
}

.sidebar-links a:hover {
    color: var(--accent-color);
}

/* Case Type Pages */
.case-type-header {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.case-type-header h1 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.case-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.example-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.example-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Recoveries Page */
.recovery-category {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.recovery-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
}

.recovery-items {
    display: grid;
    gap: 1rem;
}

.recovery-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 4px;
}

.recovery-item-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.recovery-item-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Attorney Page */
.attorney-profile {
    background: var(--bg-light);
    padding: 4rem 0;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.profile-image {
    position: sticky;
    top: 120px;
}

.profile-photo {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-white);
}

.profile-details {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.profile-quote {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #ffd700;
    font-style: italic;
    font-size: 1.1rem;
}

.credentials-list {
    list-style: none;
    margin: 2rem 0;
}

.credentials-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.credentials-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.25rem;
}

/* Responsive - Pages */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-image {
        position: relative;
        top: auto;
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
    }
    
    .header-row {
        display: none;
    }
    
    .comparison-cell {
        position: relative;
        padding-left: 140px;
    }
    
    .comparison-cell:first-child {
        font-weight: 700;
        color: var(--primary-color);
        position: absolute;
        left: 0;
        top: 0;
        width: 130px;
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .deadline-boxes,
    .elements-grid,
    .reasons-grid,
    .case-examples {
        grid-template-columns: 1fr;
    }
}

/* Fee Structure & Result Boxes */
.fee-structure,.results-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin:2rem 0}.fee-box,.result-box{background:var(--bg-light);padding:2rem;border-radius:8px;text-align:center;border-top:3px solid var(--secondary-color)}.result-icon{font-size:3rem;margin-bottom:1rem}.case-type-section{margin-bottom:5rem;padding-bottom:3rem;border-bottom:2px solid var(--border-color)}.case-type-section:last-of-type{border-bottom:none}.case-type-header .case-icon{font-size:4rem;margin-bottom:1rem}

/* Attorney Page Additional Styles */
.profile-photo-placeholder{background:linear-gradient(135deg,var(--primary-color),#2a5d84);border-radius:8px;padding:3rem;text-align:center;box-shadow:var(--shadow-lg)}.placeholder-content{color:var(--bg-white)}.placeholder-initials{width:150px;height:150px;background:rgba(255,255,255,0.15);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:3rem;font-weight:700;margin:0 auto 1rem;border:4px solid rgba(255,255,255,0.3)}.placeholder-name{font-size:1.5rem;font-weight:700;margin:1rem 0 0.5rem}.placeholder-title{color:rgba(255,255,255,0.8)}.quick-contact{background:var(--bg-white);padding:2rem;border-radius:8px;margin-top:2rem;box-shadow:var(--shadow-md)}.quick-contact h4{color:var(--primary-color);margin-bottom:1rem}.contact-link{color:var(--primary-color);font-weight:600;font-size:1.1rem}.contact-link:hover{color:var(--accent-color)}.quote-attribution{text-align:right;margin-top:1rem;font-style:normal;font-weight:600}.approach-boxes,.commitment-boxes{display:grid;gap:2rem;margin:2rem 0}.approach-box,.commitment-box{background:var(--bg-light);padding:2rem;border-radius:8px;border-left:4px solid var(--secondary-color)}.approach-box h4,.commitment-box h4{color:var(--primary-color);margin-bottom:1rem}
