/* ========================================
   LLC Simplified - Inner Pages Styles
   About, Contact, Terms, Privacy, etc.
   ======================================== */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-900) 100%);
    padding: 6rem 0 4rem;
    color: white;
    text-align: center;
}

.page-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a:hover {
    color: white;
    text-decoration: underline;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Content Section */
.content-section {
    padding: 4rem 0;
    background: white;
}

.content-section.bg-light {
    background: var(--gray-50);
}

/* Story Grid (About Page) */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.story-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.story-content > p {
    font-size: 1.0625rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.story-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.value-item {
    text-align: center;
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.value-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.story-visual {
    position: sticky;
    top: 100px;
}

.story-placeholder {
    width: 100%;
    min-height: 350px;
    border-radius: var(--radius-2xl);
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.story-stat {
    background: white;
    padding: 1.25rem;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.stat-big {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-600);
}

.story-stat span:last-child {
    font-size: 0.8125rem;
    color: var(--gray-600);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-50);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.team-card {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.team-card:hover {
    box-shadow: var(--shadow-lg);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    margin: 0 auto 1.25rem;
}

.team-photo span {
    font-size: 3rem !important;
}

.team-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.team-role {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-600);
    margin-bottom: 0.75rem;
}

.team-card > p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Certifications */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.cert-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.cert-badge {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-600);
}

.cert-badge span {
    font-size: 1.5rem !important;
    margin-bottom: 0;
}

.cert-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.cert-item p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.contact-info > p {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.contact-detail h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.contact-detail p {
    font-size: 0.9375rem;
    color: var(--gray-700);
    margin-bottom: 0.25rem;
}

.contact-detail a {
    color: var(--primary-600);
}

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

.contact-detail span {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* Contact Form */
.contact-form-wrapper {
    position: sticky;
    top: 100px;
}

.contact-form-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.contact-form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.contact-form-card > p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    color: var(--gray-900);
    background: white;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

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

/* FAQ Preview */
.faq-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.faq-preview-item {
    background: white;
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.faq-preview-item h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.faq-preview-item p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.faq-preview-item a {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary-600);
}

.faq-preview-item a:hover {
    text-decoration: underline;
}

/* Map Section */
.map-section {
    padding: 0;
}

.map-placeholder {
    width: 100%;
    min-height: 400px;
    border-radius: 0;
    border-left: none;
    border-right: none;
}

/* Legal Pages */
.legal-content {
    padding: 3rem 0 5rem;
}

.legal-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

.legal-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.legal-nav {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
}

.legal-nav h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.legal-nav ul li {
    margin-bottom: 0.5rem;
}

.legal-nav ul li a {
    font-size: 0.875rem;
    color: var(--gray-600);
    display: block;
    padding: 0.375rem 0;
    transition: color var(--transition-fast);
}

.legal-nav ul li a:hover {
    color: var(--primary-600);
}

.legal-main {
    max-width: 800px;
}

.legal-notice {
    background: linear-gradient(135deg, var(--primary-50) 0%, #e0f2fe 100%);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-500);
}

.legal-notice p {
    font-size: 0.9375rem;
    color: var(--gray-700);
    line-height: 1.7;
}

.legal-main h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 2.5rem 0 1rem;
    scroll-margin-top: 100px;
}

.legal-main h2:first-of-type {
    margin-top: 0;
}

.legal-main h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 1.5rem 0 0.75rem;
}

.legal-main p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-main ul {
    margin: 1rem 0 1.5rem 1.5rem;
    list-style: disc;
}

.legal-main ul li {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-main ul li strong {
    color: var(--gray-800);
}

.legal-main a {
    color: var(--primary-600);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-main a:hover {
    color: var(--primary-700);
}

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.legal-footer p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .legal-container {
        grid-template-columns: 240px 1fr;
    }
}

@media (max-width: 992px) {
    .page-hero h1 {
        font-size: 2.25rem;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .story-visual {
        position: relative;
        top: auto;
        order: -1;
    }
    
    .story-values {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        position: relative;
        top: auto;
    }
    
    .faq-preview-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-container {
        grid-template-columns: 1fr;
    }
    
    .legal-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 4rem 0 3rem;
    }
    
    .page-hero h1 {
        font-size: 1.75rem;
    }
    
    .story-stats {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* Active Nav State */
.nav-menu a.active {
    color: var(--primary-600);
}

.nav-menu a.active::after {
    width: 100%;
}


/* ========================================
   IMAGE STYLES FOR INNER PAGES
   ======================================== */

/* About Page Story Image */
.story-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}

/* Team Member Images */
.team-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.25rem;
    box-shadow: var(--shadow-md);
    border: 3px solid white;
}

/* Certification Images */
.cert-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.25rem;
}

/* Contact Page Map */
.map-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}
