/* ============================================
   COMPAX - SECTION STYLES
   Hero, Stats, Problems, Services, etc.
   ============================================ */

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 50%, rgba(201,162,39,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(201,162,39,0.15);
    color: var(--gold);
    font-size: var(--text-sm);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
}

.hero h1 {
    color: var(--white);
    font-size: clamp(40px, 5vw, 56px);
    margin-bottom: var(--space-6);
    line-height: 1.15;
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--space-8);
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-10);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-5);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.7);
}

.trust-icon {
    display: flex;
    color: var(--gold);
}

/* Hero Cards */
.hero-visual {
    display: flex;
    justify-content: flex-end;
}

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

.hero-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: var(--space-4);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    min-width: 340px;
}

.hero-card:hover {
    transform: translateX(-8px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.2);
}

.hero-card-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-card-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--navy);
}

.hero-card-content h3 {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.hero-card-content p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin: 0;
}

.hero-card-arrow {
    margin-left: auto;
    color: var(--gray-300);
    transition: var(--transition);
}

.hero-card-arrow svg {
    width: 20px;
    height: 20px;
}

.hero-card:hover .hero-card-arrow {
    color: var(--gold);
    transform: translateX(4px);
}

/* Rotating Text */
.rotating-text {
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: bottom;
}

.rotating-word {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    color: var(--gold);
    font-style: italic;
    white-space: nowrap;
}

.rotating-word.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
}

.rotating-word.exit {
    position: absolute;
    opacity: 0;
    transform: translateX(-50px);
}

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
}

/* --- Stats Section --- */
.stats-section {
    margin-top: -40px;
    padding-bottom: var(--space-16);
    position: relative;
    z-index: 10;
}

.stats-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-10) var(--space-12);
    box-shadow: var(--shadow-xl);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    height: 48px;
    width: 1px;
    background: var(--gray-200);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1;
    margin-bottom: var(--space-2);
    display: block;
}

.stat-number span {
    color: var(--gold);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .stat-number {
        font-size: 40px;
    }
}

@media (max-width: 640px) {
    .stats-card {
        padding: var(--space-6);
    }
}

/* --- Problems Section --- */
.problem-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.problem-icon {
    width: 56px;
    height: 56px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
}

.problem-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5;
}

.problem-card h3 {
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.problem-card p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin: 0;
}

/* --- Services Section --- */
.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(26,54,93,0.05) 0%, rgba(201,162,39,0.05) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.service-card p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: var(--space-5);
}

.service-link {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.service-link:hover {
    color: var(--gold);
}

/* --- Why Us Section --- */
.why-card {
    text-align: center;
    padding: var(--space-6);
}

.why-number {
    width: 72px;
    height: 72px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
    box-shadow: var(--shadow-md);
}

.why-number svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

.why-card h3 {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.why-card p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: 1.7;
    margin: 0;
}

/* --- COMPACT Group Section --- */
.compact-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: var(--space-16) 0;
    text-align: center;
}

.compact-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: var(--gold);
    font-size: var(--text-sm);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-5);
}

.compact-content h2 {
    color: var(--white);
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: var(--space-5);
}

.compact-content h2 span {
    color: var(--gold);
    font-style: italic;
}

.compact-content p {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto var(--space-8);
}

/* --- Testimonials Section --- */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-size: var(--text-md);
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: var(--space-6);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: var(--text-sm);
}

.author-name {
    font-weight: 600;
    color: var(--gray-800);
}

.author-role {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

/* --- Blog Section --- */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
}

.blog-card-content {
    padding: var(--space-6);
}

.blog-category {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gold);
    margin-bottom: var(--space-3);
}

.blog-card h3 {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-3);
    line-height: 1.4;
}

.blog-card h3 a:hover {
    color: var(--gold);
}

.blog-excerpt {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

.blog-meta {
    font-size: var(--text-xs);
    color: var(--gray-400);
}

.blog-more {
    text-align: center;
    margin-top: var(--space-12);
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: var(--space-20) 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: var(--space-4);
}

.cta-content h2 .text-gold {
    color: var(--gold);
    font-style: italic;
}

.cta-content > p {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--space-8);
}

.cta-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-6);
}

.cta-phone {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.6);
    margin: 0;
}

.cta-phone a {
    color: var(--gold);
    font-weight: 600;
}

.cta-phone a:hover {
    text-decoration: underline;
}

/* --- Contact Page --- */
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-sm);
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-lg);
}

/* --- FAQ Page --- */
.faq-item {
    background: var(--white);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-4);
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.faq-question {
    width: 100%;
    padding: var(--space-5) var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--gray-800);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--space-6) var(--space-5);
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.8;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

/* --- Legal Pages --- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-12) var(--space-4);
    padding-top: 120px; /* Przestrzeń na fixed navbar */
}

.legal-content h1 {
    font-size: 36px;
    margin-bottom: var(--space-4);
}

.legal-content .legal-date {
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin-bottom: var(--space-12);
}

.legal-content h2 {
    font-family: var(--font-body);
    font-size: 22px;
    margin: var(--space-12) 0 var(--space-4);
    color: var(--gray-800);
}

.legal-content p {
    margin-bottom: var(--space-4);
    line-height: 1.8;
}

.legal-content ul {
    margin: var(--space-4) 0 var(--space-4) var(--space-6);
}

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

.legal-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* ============================================
   RESPONSIVE IMPROVEMENTS
   Mobile-first enhancements
   ============================================ */

/* Hero - mobile */
@media (max-width: 640px) {
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-badge {
        font-size: var(--text-xs);
        padding: 6px 12px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: var(--text-base);
    }
    
    .hero-actions {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
    }
}

/* Stats - mobile */
@media (max-width: 640px) {
    .stats-section {
        margin-top: -20px;
    }
    
    .stats-card {
        padding: var(--space-6) var(--space-4);
        border-radius: var(--radius-xl);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: var(--text-xs);
    }
}

/* Problems - mobile */
@media (max-width: 640px) {
    .problem-card {
        padding: var(--space-5);
    }
    
    .problem-icon {
        width: 48px;
        height: 48px;
    }
    
    .problem-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* Services - mobile */
@media (max-width: 640px) {
    .service-card {
        padding: var(--space-6);
    }
    
    .service-icon {
        width: 56px;
        height: 56px;
    }
}

/* Why Us - mobile */
@media (max-width: 640px) {
    .why-card {
        padding: var(--space-4);
    }
    
    .why-number {
        width: 60px;
        height: 60px;
    }
    
    .why-number svg {
        width: 28px;
        height: 28px;
    }
}

/* COMPACT Group - mobile */
@media (max-width: 640px) {
    .compact-section {
        padding: var(--space-12) 0;
    }
    
    .compact-content h2 {
        font-size: 28px;
    }
    
    .compact-content p {
        font-size: var(--text-base);
    }
}

/* Testimonials - mobile */
@media (max-width: 640px) {
    .testimonial-card {
        padding: var(--space-6);
    }
    
    .testimonial-text {
        font-size: var(--text-sm);
    }
}

/* Blog - mobile */
@media (max-width: 640px) {
    .blog-card-image {
        height: 160px;
    }
    
    .blog-card-content {
        padding: var(--space-5);
    }
}

/* CTA - mobile */
@media (max-width: 640px) {
    .cta-section {
        padding: var(--space-12) 0;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
}

/* Contact Page - mobile */
@media (max-width: 640px) {
    .contact-form-card {
        padding: var(--space-6);
    }
}

/* Page Hero - mobile */
@media (max-width: 640px) {
    .page-hero {
        padding: 120px 0 60px;
    }
    
    .page-hero h1 {
        font-size: 32px;
    }
    
    .page-hero p {
        font-size: var(--text-base);
    }
}

/* Section Headers - mobile */
@media (max-width: 640px) {
    .section-header {
        margin-bottom: var(--space-10);
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: var(--text-base);
    }
}

/* Sections - mobile padding */
@media (max-width: 640px) {
    .section {
        padding: var(--space-12) 0;
    }
}

/* ============================================
   DYNAMIC SECTIONS - Generyczny system sekcji
   ============================================ */

/* Background styles */
.bg-default {
    background: var(--white);
}

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

.bg-primary {
    background: var(--navy);
    color: var(--white);
}

.bg-primary h2,
.bg-primary h3,
.bg-primary h4 {
    color: var(--white);
}

.bg-primary p {
    color: var(--gray-300);
}

.bg-secondary {
    background: var(--gold);
    color: var(--navy);
}

.bg-gradient {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
}

.bg-gradient h2,
.bg-gradient h3,
.bg-gradient h4 {
    color: var(--white);
}

.bg-gradient p {
    color: var(--gray-300);
}

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

.section-header h2 {
    font-size: var(--text-3xl);
    color: var(--navy);
    margin-bottom: var(--space-4);
}

.section-header h2 span {
    color: var(--gold);
}

.section-subtitle {
    color: var(--gray-600);
    font-size: var(--text-lg);
}

/* --- Stats Grid --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-8);
}

.stat-item {
    text-align: center;
    padding: var(--space-6);
}

.stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-4);
    color: var(--gold);
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-value {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
}

.bg-primary .stat-value,
.bg-gradient .stat-value {
    color: var(--white);
}

.stat-suffix {
    font-size: var(--text-xl);
    color: var(--gold);
}

.stat-label {
    margin-top: var(--space-2);
    color: var(--gray-600);
    font-size: var(--text-sm);
}

.bg-primary .stat-label,
.bg-gradient .stat-label {
    color: var(--gray-400);
}

/* --- Cards Grid --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.card-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

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

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--gold-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    color: var(--gold);
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.card-image {
    margin: calc(-1 * var(--space-6));
    margin-bottom: var(--space-4);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: var(--space-2);
}

.card-content {
    color: var(--gray-600);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    font-weight: 500;
    font-size: var(--text-sm);
    text-decoration: none;
    transition: gap 0.2s;
}

.card-link:hover {
    gap: 10px;
}

.card-link .link-arrow {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

.feature-item {
    display: flex;
    gap: var(--space-4);
}

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

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.feature-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: var(--space-1);
}

.feature-desc {
    color: var(--gray-600);
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* --- Testimonials Grid --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
}

.testimonial-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.testimonial-content {
    font-size: var(--text-base);
    color: var(--gray-700);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: var(--space-6);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: var(--text-sm);
}

.author-info strong {
    display: block;
    color: var(--navy);
    font-size: var(--text-sm);
}

.author-info span {
    color: var(--gray-500);
    font-size: var(--text-xs);
}

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

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-3);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-5);
    cursor: pointer;
    font-weight: 500;
    color: var(--navy);
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-chevron {
    width: 20px;
    height: 20px;
    stroke: var(--gray-400);
    stroke-width: 2;
    fill: none;
    transition: transform 0.2s;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--space-5) var(--space-4);
    color: var(--gray-600);
    line-height: 1.7;
}

/* --- CTA Section --- */
.section-cta .cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-text {
    font-size: var(--text-lg);
    margin-bottom: var(--space-6);
}

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

/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-4);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-3);
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    font-size: var(--text-sm);
}

/* --- Text Content --- */
.text-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--gray-700);
}

.text-content h3 {
    color: var(--navy);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
}

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

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

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

/* --- Hero Section (dynamic) --- */
.section-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.section-hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.section-hero .hero-text {
    font-size: var(--text-xl);
    margin-bottom: var(--space-8);
}

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

/* Responsive */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cards-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: var(--text-2xl);
    }
    
    .stat-value {
        font-size: var(--text-3xl);
    }
}


/* ============================================
   NEW SECTION TYPES - Team, Process, Split, etc.
   ============================================ */

/* --- Team Grid --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
}

.team-member {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.team-member:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.member-photo {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-initials {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    opacity: 0.9;
}

.member-info {
    padding: var(--space-5);
}

.member-name {
    font-size: var(--text-lg);
    color: var(--navy);
    margin: 0 0 var(--space-1);
}

.member-role {
    color: var(--gold);
    font-size: var(--text-sm);
    font-weight: 500;
    margin: 0 0 var(--space-3);
}

.member-bio {
    color: var(--gray-600);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin: 0 0 var(--space-3);
}

.member-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--space-3);
}

.member-tags .tag {
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.member-social {
    display: flex;
    gap: var(--space-2);
}

.social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-600);
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--gold);
    color: var(--white);
}

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

/* --- Process Steps --- */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 48px;
    bottom: 48px;
    width: 2px;
    background: var(--gray-200);
}

.process-step {
    display: flex;
    gap: var(--space-6);
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
    padding-top: 8px;
}

.step-icon {
    width: 40px;
    height: 40px;
    color: var(--gold);
    margin-bottom: var(--space-3);
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.step-title {
    font-size: var(--text-lg);
    color: var(--navy);
    margin: 0 0 var(--space-2);
}

.step-desc {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* --- Split Section --- */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.split-section.image-right {
    direction: ltr;
}

.split-section.image-left {
    direction: rtl;
}

.split-section.image-left > * {
    direction: ltr;
}

.split-content h2 {
    font-size: var(--text-3xl);
    color: var(--navy);
    margin-bottom: var(--space-4);
}

.split-content h2 span {
    color: var(--gold);
}

.split-subtitle {
    color: var(--gray-600);
    font-size: var(--text-lg);
    margin-bottom: var(--space-4);
}

.split-text {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: var(--space-6);
}

.split-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.split-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Logos Grid --- */
.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
}

.logo-item {
    width: 140px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

.logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* --- Pricing Grid --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    position: relative;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
}

.pricing-card.highlighted {
    border-color: var(--gold);
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: var(--radius-full);
}

.pricing-title {
    font-size: var(--text-xl);
    color: var(--navy);
    margin: 0 0 var(--space-2);
    text-align: center;
}

.pricing-desc {
    color: var(--gray-500);
    font-size: var(--text-sm);
    text-align: center;
    margin: 0 0 var(--space-6);
}

.pricing-price {
    text-align: center;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--gray-200);
}

.price-value {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--navy);
}

.price-unit {
    color: var(--gray-500);
    font-size: var(--text-sm);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-6);
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    color: var(--gray-700);
    font-size: var(--text-sm);
}

.pricing-features .check-icon {
    width: 18px;
    height: 18px;
    stroke: var(--success);
    stroke-width: 2.5;
    fill: none;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
}

/* --- Video Container --- */
.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    margin-top: var(--space-4);
    text-align: center;
    color: var(--gray-600);
    font-size: var(--text-sm);
}

/* --- Map Container --- */
.map-container {
    max-width: 100%;
}

.map-wrapper {
    position: relative;
    padding-bottom: 45%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-4);
    color: var(--gray-700);
    font-size: var(--text-base);
}

.address-icon {
    width: 20px;
    height: 20px;
    stroke: var(--gold);
    stroke-width: 2;
    fill: none;
}

/* --- Newsletter --- */
.newsletter-container {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-text {
    margin-bottom: var(--space-6);
    color: var(--gray-700);
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--gold);
}

.newsletter-form .btn {
    white-space: nowrap;
}

.newsletter-privacy {
    font-size: var(--text-xs);
    color: var(--gray-500);
    margin: 0;
}

/* --- Responsive for new sections --- */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps::before {
        display: none;
    }
    
    .split-section {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .split-section.image-left,
    .split-section.image-right {
        direction: ltr;
    }
    
    .split-image {
        order: -1;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.highlighted {
        transform: none;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .logos-grid {
        gap: var(--space-4);
    }
    
    .logo-item {
        width: 100px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .member-initials {
        font-size: 2rem;
    }
}

/* ============================================
   TEAM - Legacy styles for ONas.razor
   ============================================ */

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

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

.team-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto var(--space-4);
}

.team-card h3 {
    font-size: var(--text-lg);
    color: var(--navy);
    margin: 0 0 var(--space-1);
}

.team-role {
    color: var(--gold);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-3);
}

.team-bio {
    color: var(--gray-600);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.team-tag {
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}
