/* ===========================================
   SERVICES PREMIUM - Editorial Tab Design
   =========================================== */
.services-premium {
    padding: 8rem 0;
    background: #050505;
}

.services-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.mega-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: white;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.text-accent {
    background: linear-gradient(135deg, #8E0000, #B91C1C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.expertise-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #8E0000, #B91C1C);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.tab-btn.active::after,
.tab-btn:hover::after {
    transform: scaleX(1);
}

.tab-number {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(142, 0, 0, 0.4);
    padding: 0.3rem 0.6rem;
    background: rgba(142, 0, 0, 0.1);
    border-radius: 4px;
    transition: all 0.3s;
}

.tab-btn.active .tab-number {
    background: #8E0000;
    color: white;
}

.tab-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #666;
    transition: color 0.3s;
}

.tab-btn.active .tab-name,
.tab-btn:hover .tab-name {
    color: white;
}

.tab-panels {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeSlide 0.5s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.panel-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.panel-lead {
    color: #888;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.panel-lead strong {
    color: #B91C1C;
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.panel-grid-4 {
    grid-template-columns: repeat(2, 1fr);
}

.panel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    cursor: default;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.panel-item::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    padding: 0.6rem 1rem;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(142, 0, 0, 0.3);
    border-radius: 8px;
    font-size: 0.75rem;
    color: #ccc;
    width: 280px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 10;
}

.panel-item:hover::before {
    opacity: 1;
    visibility: visible;
}

.panel-item:hover {
    background: rgba(142, 0, 0, 0.08);
    border-color: rgba(142, 0, 0, 0.2);
    transform: translateY(-3px);
}

.panel-item svg {
    width: 24px;
    height: 24px;
    color: #8E0000;
    transition: color 0.3s;
}

.panel-item:hover svg {
    color: #B91C1C;
}

.panel-item span {
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    transition: color 0.3s;
}

.panel-item:hover span {
    color: white;
}

.panel-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.methods-card {
    padding: 1.75rem;
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
}

.methods-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.25rem;
}

.methods-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.method-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s;
}

.method-line:last-child {
    border-bottom: none;
}

.method-line:hover {
    padding-left: 0.5rem;
}

.method-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
}

.method-desc {
    font-size: 0.75rem;
    color: #666;
}

.nbr-card {
    padding: 1.25rem 1.5rem;
    background: rgba(142, 0, 0, 0.08);
    border: 1px solid rgba(142, 0, 0, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.nbr-card:hover {
    background: rgba(142, 0, 0, 0.12);
    border-color: rgba(142, 0, 0, 0.3);
}

.nbr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nbr-header span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #B91C1C;
}

.nbr-header svg {
    width: 16px;
    height: 16px;
    color: #B91C1C;
    transition: transform 0.3s;
}

.nbr-card.active .nbr-header svg {
    transform: rotate(180deg);
}

.nbr-expand {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
}

.nbr-expand.active {
    max-height: 150px;
    margin-top: 1rem;
}

.nbr-expand p {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.6;
}

.highlight-card {
    padding: 2rem;
    background: linear-gradient(145deg, rgba(142, 0, 0, 0.15), rgba(142, 0, 0, 0.05));
    border: 1px solid rgba(142, 0, 0, 0.3);
    border-radius: 20px;
    text-align: center;
}

.highlight-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, #8E0000, #B91C1C);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.highlight-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
}

.highlight-card p {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .mega-title {
        font-size: 2.5rem;
    }

    .panel-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .panel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .expertise-tabs {
        flex-direction: column;
    }

    .tab-btn {
        justify-content: center;
        padding: 1rem 2rem;
    }

    .panel-grid {
        grid-template-columns: 1fr;
    }
}

.legal-section {
    padding: 8rem 0;
    background: #0a0a0a;
}

.legal-split-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: start;
}

.legal-intro .section-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.intro-text {
    font-size: 1.3rem;
    color: #CCC;
    margin-bottom: 1.5rem;
    border-left: 3px solid #8E0000;
    padding-left: 1.5rem;
}

.intro-sub {
    color: #888;
    line-height: 1.7;
    font-size: 0.95rem;
}

.feature-timeline {
    position: relative;
    padding-left: 2rem;
}

.feature-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #8E0000, transparent);
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    position: relative;
    transition: all 0.3s;
}

.timeline-item:hover {
    transform: translateX(10px);
}

.timeline-marker {
    width: 48px;
    height: 48px;
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B91C1C;
    flex-shrink: 0;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.timeline-item:hover .timeline-marker {
    background: #8E0000;
    border-color: #8E0000;
    color: white;
    box-shadow: 0 0 20px rgba(142, 0, 0, 0.5);
}

.timeline-content h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.timeline-content p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.5;
}

.inline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tag {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #AAA;
    transition: all 0.2s;
}

.tag:hover {
    background: #8E0000;
    border-color: #8E0000;
    color: white;
}

.highlight-timeline .timeline-marker {
    border-color: #8E0000;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 0.75rem;
    padding: 8px 14px;
    background: rgba(142, 0, 0, 0.15);
    border: 1px solid rgba(142, 0, 0, 0.3);
    border-radius: 6px;
    font-size: 0.75rem;
    color: #B91C1C;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.security-badge svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 1024px) {
    .legal-split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .legal-intro .section-title {
        font-size: 2.5rem;
    }
}

.bento-card {
    background: #1a1a1a !important;
    border: 1px solid #333 !important;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    min-height: 280px;
}

.bento-card:hover {
    border-color: #8E0000 !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.card-icon-bg {
    width: 48px;
    height: 48px;
    background: #252525;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #B91C1C;
}

.bento-card:hover .card-icon-bg {
    background: #8E0000;
    color: white;
}

.bento-card h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-family: 'Poppins', sans-serif;
}

.card-separator {
    width: 40px;
    height: 2px;
    background: #8E0000;
    margin-bottom: 1rem;
    transition: width 0.3s;
}

.bento-card:hover .card-separator {
    width: 100%;
}

.bento-card p {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
}

.clean-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.clean-list li {
    margin-bottom: 0.5rem;
}

.clean-list li span {
    display: block;
    background: #252525;
    padding: 8px 12px;
    border-radius: 6px;
    color: #CCC;
    font-size: 0.85rem;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.clean-list li:hover span {
    background: #333;
    border-color: #8E0000;
    color: white;
}

/* Highlight Box inside Role Card */
.highlight-box {
    margin-top: auto;
    padding: 1rem;
    background: rgba(142, 0, 0, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #DDD;
    font-size: 0.85rem;
    border: 1px solid rgba(142, 0, 0, 0.3);
}

.highlight-box i {
    color: #B91C1C;
    flex-shrink: 0;
}

/* Card Role - Special Styling */
.card-role {
    border-color: #8E0000 !important;
    background: linear-gradient(145deg, rgba(142, 0, 0, 0.1), #1a1a1a) !important;
}

/* ===========================================
   PREVENTION SECTION
   =========================================== */
.prevention-highlight-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #080808, #0a0a0a);
    border-top: 1px solid #222;
}

.prevention-layout {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: center;
}

.shield-visual {
    color: rgba(255, 255, 255, 0.08);
}

.shield-visual svg {
    width: 200px;
    height: 200px;
}

.prevention-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.prevention-content .subtitle {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.features-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feat-item {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.feat-item:hover {
    border-color: #8E0000;
    transform: translateY(-3px);
}

.feat-item h4 {
    color: #B91C1C;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.feat-item p {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===========================================
   IDENTITY SECTION - Modern Editorial
   =========================================== */
.identity-section {
    padding: 5rem 0;
    background: #0a0a0a;
    border-top: 1px solid #1a1a1a;
}

/* Company Intro - 10 Years Highlight */
.company-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3rem 0;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.intro-left .section-title {
    margin-bottom: 1.5rem;
}

.company-description {
    color: #888;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 90%;
}

.company-description strong {
    color: #B91C1C;
}

.intro-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.years-highlight {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.years-number {
    font-family: 'Poppins', sans-serif;
    font-size: 6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8E0000, #B91C1C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.years-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    line-height: 1.2;
    text-align: left;
}

.since-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(142, 0, 0, 0.15);
    border: 1px solid rgba(142, 0, 0, 0.4);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #B91C1C;
    letter-spacing: 0.05em;
}

.identity-header {
    margin-bottom: 3rem;
    text-align: center;
}

.identity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
}

.identity-item {
    padding: 2rem 2.5rem;
    position: relative;
    transition: all 0.4s ease;
}

/* Vertical dividers */
.identity-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(142, 0, 0, 0.4), transparent);
}

.identity-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.identity-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(142, 0, 0, 0.3);
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.identity-item:hover .identity-number {
    color: rgba(142, 0, 0, 0.6);
}

/* Date Badge */
.date-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: linear-gradient(135deg, #8E0000, #B91C1C);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(142, 0, 0, 0.3);
}

.identity-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.identity-item p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Values Tags */
.values-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.value-tag {
    padding: 0.4rem 0.9rem;
    background: rgba(142, 0, 0, 0.1);
    border: 1px solid rgba(142, 0, 0, 0.25);
    border-radius: 20px;
    font-size: 0.75rem;
    color: #ccc;
    font-weight: 500;
    transition: all 0.3s;
}

.value-tag:hover {
    background: rgba(142, 0, 0, 0.25);
    border-color: rgba(142, 0, 0, 0.5);
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
    .identity-grid {
        grid-template-columns: 1fr;
    }

    .identity-item:not(:last-child)::after {
        display: none;
    }

    .identity-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .identity-item:last-child {
        border-bottom: none;
    }
}

/* ===========================================
   TEAM SECTION - Equipe
   =========================================== */
.team-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #080808, #0a0a0a);
    border-top: 1px solid #1a1a1a;
}

.team-header {
    text-align: center;
    margin-bottom: 4rem;
}

.team-profile {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 4rem;
    align-items: start;
}

/* Foto do Perfil */
.profile-photo {
    position: sticky;
    top: 120px;
}

.photo-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 2px solid rgba(142, 0, 0, 0.3);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #444;
    transition: all 0.3s;
}

.photo-placeholder:hover {
    border-color: rgba(142, 0, 0, 0.6);
}

.photo-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.3;
}

.photo-placeholder span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.5;
}

/* Para quando tiver a foto real */
.profile-photo img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid rgba(142, 0, 0, 0.3);
}

/* Conteúdo do Perfil */
.profile-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 1.5rem;
}

.profile-name {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.profile-role {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #8E0000, #B91C1C);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 30px;
    letter-spacing: 0.03em;
}

/* Bio */
.profile-bio p {
    color: #999;
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

.profile-bio p:last-child {
    margin-bottom: 0;
}

.profile-bio strong {
    color: white;
    font-weight: 500;
}

/* Citação */
.profile-quote {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgba(142, 0, 0, 0.08);
    border-left: 4px solid #8E0000;
    border-radius: 0 12px 12px 0;
}

.profile-quote svg {
    width: 24px;
    height: 24px;
    color: #B91C1C;
    flex-shrink: 0;
    margin-top: 2px;
}

.profile-quote p {
    color: #ccc;
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

/* Credenciais */
.profile-credentials {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.25rem;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    transition: all 0.3s;
}

.credential-item:hover {
    border-color: #8E0000;
    background: rgba(142, 0, 0, 0.1);
}

.credential-item svg {
    width: 18px;
    height: 18px;
    color: #B91C1C;
}

.credential-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ccc;
}

/* Responsivo */
@media (max-width: 900px) {
    .team-profile {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profile-photo {
        position: relative;
        top: 0;
        max-width: 280px;
        margin: 0 auto;
    }

    .profile-name {
        font-size: 2rem;
        text-align: center;
    }

    .profile-header {
        text-align: center;
    }

    .profile-bio p {
        text-align: justify;
    }

    .profile-credentials {
        justify-content: center;
    }
}

/* ===========================================
   CLIENTS SECTION
   =========================================== */
.clients-section {
    padding: 6rem 0;
    background: #0a0a0a;
    border-top: 1px solid #222;
}

.center-tag {
    display: block;
    text-align: center;
}

.center-title {
    text-align: center;
    margin-bottom: 3rem;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.client-logo-box {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s;
}

.client-logo-box:hover {
    border-color: #8E0000;
}

.client-logo-box img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.client-logo-box:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* ===========================================
   RESPONSIVE - Complete Mobile Adaptation
   =========================================== */

/* Tablet */
@media (max-width: 1200px) {
    .legal-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .legal-split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .identity-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .identity-item:not(:last-child)::after {
        display: none;
    }
}

/* Mobile */
@media (max-width: 768px) {

    /* Services Premium */
    .services-premium {
        padding: 4rem 0;
    }

    .mega-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .services-intro {
        margin-bottom: 2rem;
    }

    .expertise-tabs {
        flex-direction: column;
        border-bottom: none;
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 1rem 1.5rem;
        justify-content: flex-start;
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 12px;
    }

    .tab-btn.active {
        background: rgba(142, 0, 0, 0.1);
        border-color: rgba(142, 0, 0, 0.3);
    }

    .tab-btn::after {
        display: none;
    }

    .panel-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .panel-title {
        font-size: 1.5rem;
    }

    .panel-lead {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .panel-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .panel-item {
        padding: 1rem 0.75rem;
    }

    .panel-item::before {
        display: none;
    }

    .panel-item span {
        font-size: 0.75rem;
    }

    .methods-card {
        padding: 1.25rem;
    }

    /* Legal Section */
    .legal-section {
        padding: 4rem 0;
    }

    .legal-split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .legal-intro .section-title {
        font-size: 2rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .timeline-item {
        gap: 1rem;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
    }

    .timeline-content h4 {
        font-size: 1rem;
    }

    /* Prevention Section */
    .prevention-highlight-section {
        padding: 4rem 0;
    }

    .prevention-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .shield-visual {
        display: none;
    }

    .prevention-content h2 {
        font-size: 1.8rem;
    }

    .features-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Identity Section */
    .identity-section {
        padding: 4rem 0;
    }

    .company-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 2rem 0;
        margin-bottom: 2rem;
    }

    .company-description {
        max-width: 100%;
        font-size: 1rem;
    }

    .years-number {
        font-size: 4rem;
    }

    .years-text {
        font-size: 1.2rem;
        text-align: center;
    }

    .identity-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .identity-item {
        padding: 1.5rem 0;
        text-align: center;
    }

    .identity-number {
        font-size: 2rem;
    }

    .identity-item h3 {
        font-size: 1rem;
    }

    .values-tags {
        justify-content: center;
    }

    /* Clients Section */
    .clients-section {
        padding: 4rem 0;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .client-logo-box {
        height: 80px;
        padding: 1rem;
    }

    .legal-bento-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .mega-title {
        font-size: 1.6rem;
    }

    .tab-btn {
        padding: 0.875rem 1rem;
    }

    .tab-number {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
    }

    .tab-name {
        font-size: 0.9rem;
    }

    .panel-grid {
        grid-template-columns: 1fr;
    }

    .panel-title {
        font-size: 1.3rem;
    }

    .legal-intro .section-title {
        font-size: 1.6rem;
    }

    .prevention-content h2 {
        font-size: 1.5rem;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .identity-number {
        font-size: 1.75rem;
    }
}

/* ===========================================
   WHY HIRE & COMPARISON STYLES
   =========================================== */
.why-hire-section {
    margin-top: 2.5rem;
    margin-bottom: 3.5rem;
}

.why-hire-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.45;
    border-left: 4px solid #8E0000;
    padding-left: 1.25rem;
}

.reasons-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.reason-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    gap: 1.25rem;
    transition: all 0.3s ease;
}

.reason-card:hover {
    border-color: rgba(142, 0, 0, 0.3);
    background: rgba(142, 0, 0, 0.04);
    transform: translateY(-3px);
}

.reason-num {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #B91C1C;
    line-height: 1;
}

.reason-body {
    font-size: 0.95rem;
    color: #a0a0a0;
    line-height: 1.7;
}

.reason-body strong {
    color: white;
    font-weight: 600;
}

.intention-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.intention-box {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    border-radius: 12px;
    align-items: flex-start;
}

.intention-box.broker {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.intention-box.engineer {
    background: rgba(142, 0, 0, 0.06);
    border: 1px solid rgba(142, 0, 0, 0.2);
}

.intention-box p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    color: #ccc;
}

.intention-box strong {
    color: white;
}

.intention-box.broker i {
    color: #888;
}

.intention-box.engineer i {
    color: #B91C1C;
}

.intention-box i {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.subsection-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: white;
    margin-top: 4rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.75rem;
}

/* ===========================================
   AUTOMATED VALUATION BANNER
   =========================================== */
.automated-valuation-banner {
    margin-top: 5rem;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.95), rgba(5, 5, 5, 0.95));
    border: 1px solid rgba(142, 0, 0, 0.25);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.automated-valuation-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #8E0000, #B91C1C, transparent);
}

.automated-valuation-banner.active {
    border-color: rgba(142, 0, 0, 0.45);
    box-shadow: 0 15px 40px rgba(142, 0, 0, 0.12);
}

.badge-new {
    display: inline-block;
    background: #B91C1C;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.automated-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.automated-intro {
    font-size: 1.05rem;
    color: #b0b0b0;
    line-height: 1.7;
    max-width: 85%;
    margin-bottom: 2rem;
}

.btn-automated {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    transition: all 0.3s ease;
}

.btn-automated:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: white;
}

.btn-automated svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-automated.active svg {
    transform: rotate(180deg);
}

.automated-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.5s ease, opacity 0.4s ease;
    opacity: 0;
}

.automated-details.active {
    max-height: 1500px;
    margin-top: 3rem;
    opacity: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 2.5rem;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.details-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.75rem;
}

.details-card h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.details-card p {
    font-size: 0.95rem;
    color: #909090;
    line-height: 1.7;
    margin: 0;
}

.details-faq {
    background: rgba(142, 0, 0, 0.02);
    border: 1px solid rgba(142, 0, 0, 0.12);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2.5rem;
}

.details-faq h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #B91C1C;
    margin-bottom: 1rem;
}

.details-faq p {
    font-size: 0.95rem;
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.details-faq p:last-child {
    margin-bottom: 0;
}

.details-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 2rem;
}

.democratize-text {
    font-size: 0.95rem;
    color: #909090;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.democratize-text i {
    color: #B91C1C;
    width: 20px;
    height: 20px;
}

.btn-solicitar-automatizada {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #8E0000, #B91C1C);
    color: white;
    padding: 1rem 2.25rem;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(142, 0, 0, 0.2);
}

.btn-solicitar-automatizada:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(142, 0, 0, 0.45);
}

.btn-solicitar-automatizada svg {
    width: 20px;
    height: 20px;
}

/* ===========================================
   RESPONSIVE OVERRIDES
   =========================================== */
@media (max-width: 900px) {
    .reasons-container,
    .intention-boxes,
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .details-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    
    .automated-intro {
        max-width: 100%;
        font-size: 0.95rem;
    }
    
    .automated-title {
        font-size: 1.6rem;
    }
    
    .automated-valuation-banner {
        padding: 2rem 1.5rem;
    }
    
    .why-hire-title {
        font-size: 1.2rem;
    }
}

/* ===========================================
   WHAT WE DO & WHY CHOOSE US
   =========================================== */
.section-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.what-we-do-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.what-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.what-card:hover {
    background: rgba(142, 0, 0, 0.04);
    border-color: rgba(142, 0, 0, 0.2);
    transform: translateY(-2px);
}

.what-icon {
    width: 44px;
    height: 44px;
    background: rgba(142, 0, 0, 0.1);
    color: #B91C1C;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.what-card:hover .what-icon {
    background: #8E0000;
    color: white;
}

.what-icon svg {
    width: 22px;
    height: 22px;
}

.what-info h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.what-info p {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.6;
    margin: 0;
}

.what-card-featured {
    background: linear-gradient(145deg, rgba(142, 0, 0, 0.12), rgba(15, 15, 15, 0.95));
    border: 1px solid rgba(142, 0, 0, 0.25);
    box-shadow: 0 10px 30px rgba(142, 0, 0, 0.05);
}

.what-card-featured .what-icon {
    background: #8E0000;
    color: white;
}

.why-choose-us-section {
    margin-top: 3.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 2.5rem;
}

.why-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.75rem;
    line-height: 1.4;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.why-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.why-item svg {
    width: 20px;
    height: 20px;
    color: #B91C1C;
    flex-shrink: 0;
    margin-top: 3px;
}

.why-item strong {
    color: white;
    font-weight: 600;
    display: inline-block;
    margin-right: 0.25rem;
}

.why-item span {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===========================================
   CASES SECTION - Tabs & Layout
   =========================================== */
.cases-section {
    padding: 8rem 0;
    background: #050505;
    border-top: 1px solid #1a1a1a;
}

.cases-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.cases-intro .intro-text {
    max-width: 800px;
    margin: 1.5rem auto 0;
    font-size: 1.1rem;
    color: #999;
    line-height: 1.7;
}

.cases-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.case-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    color: #888;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.case-tab-btn:hover {
    border-color: rgba(142, 0, 0, 0.3);
    background: rgba(142, 0, 0, 0.03);
    color: white;
}

.case-tab-btn.active {
    background: rgba(142, 0, 0, 0.1);
    border-color: #8E0000;
    color: white;
    box-shadow: 0 4px 20px rgba(142, 0, 0, 0.15);
}

.case-tab-btn svg {
    width: 18px;
    height: 18px;
    color: #888;
    transition: color 0.3s;
}

.case-tab-btn.active svg,
.case-tab-btn:hover svg {
    color: #B91C1C;
}

.case-tab-panel {
    display: none;
    animation: fadeSlide 0.5s ease;
}

.case-tab-panel.active {
    display: block;
}

.case-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 4rem;
    align-items: start;
}

.case-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.case-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 0.35rem 0.85rem;
    background: rgba(142, 0, 0, 0.12);
    border: 1px solid rgba(142, 0, 0, 0.25);
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #B91C1C;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: white;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.case-block h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.case-block h5 svg {
    width: 20px;
    height: 20px;
    color: #B91C1C;
}

.case-block p {
    font-size: 0.95rem;
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.case-block p:last-child {
    margin-bottom: 0;
}

.case-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.case-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: #aaa;
    line-height: 1.6;
}

.case-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: #B91C1C;
    border-radius: 50%;
}

.case-list li strong {
    color: white;
}

.case-quote {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.01);
    border-left: 4px solid #8E0000;
    border-radius: 0 16px 16px 0;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.case-quote svg {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    color: rgba(142, 0, 0, 0.08);
}

.case-quote p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-style: italic;
    color: #ddd;
    line-height: 1.6;
    margin: 0;
}

.quote-author {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.05em;
}

.case-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 1.5rem;
}

.sidebar-card h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-card h5 svg {
    width: 18px;
    height: 18px;
    color: #B91C1C;
}

.sidebar-card p {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.6;
    margin: 0;
}

.sidebar-card.highlight {
    background: rgba(142, 0, 0, 0.05);
    border-color: rgba(142, 0, 0, 0.2);
}

.simple-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.simple-list li {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.5;
    position: relative;
    padding-left: 1.5rem;
}

.simple-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #B91C1C;
}

.simple-list li strong {
    color: white;
}

/* Visuals for Cases */
.case-visuals {
    margin: 2rem 0;
}

.case-figure {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.case-figure img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.case-figure figcaption {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.6;
    padding: 0 0.5rem;
}

.case-figure figcaption strong,
.case-figure figcaption span {
    color: #ccc;
    font-weight: 500;
}

/* ===========================================
   RESPONSIVE CASES OVERRIDES
   =========================================== */
@media (max-width: 900px) {
    .case-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .cases-section {
        padding: 4rem 0;
    }
    
    .case-title {
        font-size: 1.6rem;
    }
    
    .case-quote p {
        font-size: 1rem;
    }
}