/* ==================== ARTICLE HERO ==================== */
.article-hero {
    position: relative;
    height: auto;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 0 60px;
}

.article-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/attorney-7.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.95) 0%, rgba(65, 90, 119, 0.85) 100%);
    z-index: 2;
}

.article-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.breadcrumbs a {
    color: #fbbf24;
    text-decoration: underline;
    transition: color 0.3s ease;
    font-weight: 500;
}

.breadcrumbs a:hover {
    color: #f59e0b;
    text-decoration: none;
}

.breadcrumbs .separator {
    color: #9ca3af;
    margin: 0 5px;
}

.breadcrumbs span:not(.separator):not(a) {
    color: #9ca3af;
}

/* ==================== LEGAL PAGES STYLES ==================== */
.article-content-section {
    background: #ffffff;
    padding: 60px 0;
}

.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-main-content {
    background: #ffffff;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.article-section {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f1f5f9;
}

.article-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.article-section h2 {
    color: #1a365d;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.4;
}

.article-section p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.article-section ul {
    margin: 20px 0;
    padding-left: 25px;
}

.article-section li {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.article-section strong {
    color: #1a365d;
    font-weight: 600;
}

.info-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
}

.info-box h3 {
    color: #1a365d;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.info-box p {
    color: #64748b;
    margin-bottom: 0;
}

/* Article Meta */
.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.article-meta i {
    color: #fbbf24;
    font-size: 0.95rem;
}

.article-category {
    background: rgba(251, 191, 36, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Article Title */
.article-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.article-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    animation: fadeInUp 1s ease-out 0.8s both;
}

/* ==================== ARTICLE CONTENT ==================== */
.article-content {
    padding: 80px 0;
    background: #f8fafc;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Main Content */
.article-main {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.article-intro {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #2d3748;
    margin-bottom: 20px;
}

.article-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
}

/* Article Sections */
.article-section {
    margin-bottom: 50px;
}

.article-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 20px;
    margin-top: 40px;
    padding-bottom: 15px;
    border-bottom: 3px solid #f97316;
}

.article-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
    margin-top: 30px;
}

.article-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 20px;
}

.article-section strong {
    color: #1a365d;
    font-weight: 600;
}

/* Article Lists */
.article-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.article-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a5568;
}

.article-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f97316;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
    border-left: 4px solid #f97316;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
}

.highlight-box p {
    margin-bottom: 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2d3748;
}

/* Article CTA */
.article-cta {
    background: linear-gradient(135deg, #1a365d 0%, #415a77 100%);
    padding: 40px;
    border-radius: 15px;
    margin: 50px 0 40px;
    text-align: center;
}

.cta-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.cta-content .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Article Share */
.article-share {
    padding: 30px 0;
    border-top: 2px solid #e2e8f0;
}

.article-share h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.share-facebook {
    background: #1877f2;
}

.share-twitter {
    background: #1da1f2;
}

.share-linkedin {
    background: #0a66c2;
}

.share-whatsapp {
    background: #25d366;
}

/* ==================== SERVICES GRID ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.service-item {
    background: #f8fafc;
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid #f97316;
    transition: all 0.3s ease;
    text-align: center;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.15);
    border-left-color: #fbbf24;
}

.service-item i {
    font-size: 2.5rem;
    color: #f97316;
    margin-bottom: 15px;
    display: block;
}

.service-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 10px;
}

.service-item p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==================== PHASES CONTAINER ==================== */
.phases-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.phase-item {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.phase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.phase-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
}

.phase-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 15px;
}

.phase-item p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ==================== FAQ CONTAINER ==================== */
.faq-container {
    margin: 40px 0;
}

.faq-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid #f97316;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.15);
    border-left-color: #fbbf24;
}

.faq-item h3 {
    color: #1a365d;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h3::before {
    content: "?";
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.faq-item p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    
    .service-item {
        padding: 20px;
    }
    
    .service-item i {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .service-item h4 {
        font-size: 1.1rem;
    }
    
    .phases-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    
    .phase-item {
        padding: 25px 20px;
    }
    
    .phase-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .phase-item h4 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
}

/* ==================== SIDEBAR ==================== */
.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f97316;
}

/* Table of Contents */
.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents > ul > li {
    margin-bottom: 12px;
}

.table-of-contents ul ul {
    margin-left: 20px;
    margin-top: 10px;
}

.table-of-contents a {
    color: #4a5568;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.table-of-contents a:hover {
    color: #f97316;
}

/* Related Services */
.related-services {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
    text-decoration: none;
    color: #1a365d;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.related-service-item:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
    border-color: #f97316;
    transform: translateX(5px);
}

.related-service-item i {
    font-size: 1.5rem;
    color: #f97316;
}

.related-service-item span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Contact Widget */
.contact-widget {
    background: linear-gradient(135deg, #1a365d 0%, #415a77 100%);
    text-align: center;
}

.contact-widget .widget-title {
    color: white;
    border-bottom-color: rgba(251, 191, 36, 0.3);
}

.contact-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.widget-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fbbf24;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.widget-phone:hover {
    color: #f97316;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ==================== RELATED ARTICLES ==================== */
.related-articles {
    padding: 80px 0;
    background: white;
}

.related-articles .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 50px;
}

.articles-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

/* Article Card */
.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 300px;
    flex-shrink: 0;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.article-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-card-image img {
    transform: scale(1.1);
}

.article-card-content {
    padding: 25px;
}

.article-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.article-card-category {
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 500;
}

.article-card-date {
    color: #718096;
}

.article-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-card-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 15px;
}

.article-card-link {
    color: #f97316;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card-link:hover {
    color: #1a365d;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .article-layout {
        grid-template-columns: 1fr 300px;
        gap: 40px;
    }
}

@media (max-width: 992px) {

    .article-title {
        font-size: 2.5rem;
    }

    .article-subtitle {
        font-size: 1.3rem;
    }

    .article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-sidebar {
        position: static;
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-main {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {

    .article-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .article-subtitle {
        font-size: 1.05rem;
    }

    .article-meta {
        gap: 15px;
        font-size: 0.85rem;
    }

    .article-content {
        padding: 45px 0;
    }

    .article-main {
        padding: 30px 20px;
    }

    .article-section h2 {
        font-size: 1.5rem;
        margin-bottom: 18px;
        margin-top: 35px;
    }

    .article-section h3 {
        font-size: 1.25rem;
        margin-bottom: 15px;
        margin-top: 28px;
    }

    .article-section p,
    .article-intro p,
    .article-list li {
        font-size: 0.98rem;
        line-height: 1.55;
    }

    .lead {
        font-size: 1.1rem;
    }

    .sidebar-widget {
        padding: 25px 20px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-cta {
        padding: 30px 20px;
    }

    .cta-content h3 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {

    .article-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .article-subtitle {
        font-size: 0.95rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
        font-size: 0.8rem;
    }

    .article-main {
        padding: 25px 15px;
    }

    .article-section h2 {
        font-size: 1.35rem;
        margin-bottom: 15px;
        margin-top: 30px;
    }

    .article-section h3 {
        font-size: 1.15rem;
        margin-bottom: 12px;
        margin-top: 25px;
    }

    .article-section p,
    .article-intro p,
    .article-list li {
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .breadcrumbs {
        font-size: 0.8rem;
        margin-bottom: 25px;
    }
}


/* ==================== SMOOTH SCROLL ==================== */
html {
    scroll-behavior: smooth;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

