html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}
  .fa-solid,.fas {
        color: #ffffff !important;
    }

.fab {
        color: #ffffff !important;
    }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.hero-section {
    background-color: #ffffff;
    padding: 80px 40px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background-color: #ffffff;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.hero-subtitle {
    font-size: 15px;
    color: #666;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 11px;
    color: #999;
    text-transform: capitalize;
}

.services-section {
    background-color: #ffffff;
  width: 85%;
  margin:auto;
    padding: 60px 40px;
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 50px;
    border-bottom: 2px solid #ddd;
    flex-wrap: wrap;
}

.tab-button {
    background: none;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #2c2c2c;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.tab-button.active {
    color: #CB4B27;
    border-bottom-color: #CB4B27;
}

.tab-button:hover {
    color: #CB4B27;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.service-panel {
    display: none;
    grid-column: 1 / -1;
    gap: 32px;
    align-items: stretch;
}

.service-panel.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.service-content-left {
    background: linear-gradient(180deg, #2C1A10 0%, #1A0A04 50%, #0E0402 100%);
    padding: 50px 40px;
    border-radius: 20px;
    color: white;
    text-align: left;
}

.service-content-right {
    background-color: #f0ebe5;
    padding: 50px 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.service-badge {
    display: inline-block;
    background-color: transparent;
    color: #CB4B27;
    padding: 6px 0;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    width: fit-content;
}

.service-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    line-height: 1.2;
}

.service-subtitle {
    font-size: 13px;
    color: #ccc;
    margin-bottom: 20px;
    font-style: italic;
}

.service-description {
    font-size: 16px;
    color: #ddd;
    line-height: 1.8;
    margin-bottom: 40px;
}

.tools-section h4,
.expertise-section h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #1a1a1a;
    margin-bottom: 18px;
    text-transform: uppercase;
    text-align: left;
}

.expertise-section2 h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #999999;
    margin-bottom: 18px;
    text-transform: uppercase;
    text-align: left;
}

.tools-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.tool-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    color: #ddd;
}

.tool-tag.primary {
    color: #ffffff;
    border-color: #CB4B27;
}
/* Nuevos estilos para los iconos */
.tool-tag i {
    margin-right: 6px;
    width: 16px;
    display: inline-block;
    text-align: center;
}

.expertise-list {
    list-style: none;
}

.expertise-list li {
    padding-left: 24px;
    margin-bottom: 14px;
    font-size: 16px;
    color: #333;
    position: relative;
    font-weight: 500;
}

.expertise-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #CB4B27;
    font-size: 16px;
    font-weight: bold;
}

.stat-box {
    background: linear-gradient(180deg, #2C1A10 0%, #1A0A04 50%, #0E0402 100%);
    padding: 30px 25px;
    border-radius: 16px;
    text-align: left;
    color: white;
}

.stat-box-large {
    font-size: 72px;
    text-align: left;
    font-weight: 900;
    color: #CB4B27;
    margin-bottom: 15px;
}

.stat-box-text {
    font-size: 16px;
    text-align: left;
    line-height: 1.5;
    color: #ccc;
}

.stat-label-small {
    font-size: 14px;
    color: #EFEDEC;
    text-transform: uppercase;
    text-align: left;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.cta-section {
    background: linear-gradient(180deg, #2C1A10 0%, #1A0A04 50%, #0E0402 100%);
    padding: 100px 40px;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 10px;
    color: #CB4B27;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.btn-primary {
    background-color: #CB4B27;
    color: white;
}

.btn-primary:hover {
    background-color: #A73D1F;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #3a2f27;
}

@supports (selector(:focus-visible)) {
    .btn:focus-visible,
    .tab-button:focus-visible {
        outline: 2px solid #CB4B27;
        outline-offset: 2px;
    }
}

.clients-section {
    background: linear-gradient(180deg, #2C1A10 0%, #1A0A04 50%, #0E0402 100%);
    padding: 60px 40px;
    text-align: center;
}

.clients-label {
    font-size: 10px;
    color: #CB4B27;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.clients-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.client-logo {
    font-size: 15px;
    font-weight: 600;
    color: #ccc;
}

@media (max-width: 1024px) {
    .hero-section {
        padding: 60px 30px;
    }

    .hero-title {
        font-size: 40px;
    }

    .services-section {
        padding: 50px 100px;
    }

    .service-content-left,
    .service-content-right {
        padding: 40px 30px;
    }

    .cta-section {
        padding: 80px 30px;
    }

    .cta-section h2 {
        font-size: 40px;
    }

    .clients-section {
        padding: 50px 30px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .hero-section {
        padding: 40px 16px;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin: 0 auto 30px;
    }

    .hero-stats {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        min-width: 100%;
    }

    .stat-number {
        font-size: 24px;
    }

    .services-section {
        padding: 30px 16px;
    }

    .services-tabs {
        margin-bottom: 30px;
        gap: 8px;
        flex-direction: column;
        border-bottom: none;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-button {
        padding: 12px 16px;
        font-size: 11px;
        white-space: nowrap;
        border-bottom: none;
        border-left: 3px solid transparent;
        position: relative;
        left: 0;
        bottom: auto;
        min-width: fit-content;
    }

    .tab-button.active {
        border-bottom: none;
        border-left-color: #CB4B27;
        background-color: #f0ebe5;
        border-radius: 4px;
    }

    .service-panel.active {
        grid-template-columns: 1fr;
    }

    .service-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-content-left,
    .service-content-right {
        padding: 25px 16px;
        border-radius: 8px;
    }

    .service-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .service-subtitle {
        font-size: 12px;
    }

    .service-description {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .tools-section h4,
    .expertise-section h4,
    .expertise-section2 h4 {
        font-size: 9px;
        margin-bottom: 12px;
    }

    .tools-list {
        gap: 6px;
        flex-wrap: wrap;
    }

    .tool-tag {
        padding: 5px 10px;
        font-size: 11px;
        border-radius: 12px;
    }

    .expertise-list li {
        padding-left: 16px;
        margin-bottom: 10px;
        font-size: 12px;
    }

    .stat-box {
        padding: 20px 16px;
        margin-bottom: 20px;
    }

    .stat-box-large {
        font-size: 40px;
        margin-bottom: 12px;
    }

    .stat-box-text {
        font-size: 12px;
    }

    .cta-section {
        padding: 40px 16px;
    }

    .cta-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .cta-subtitle {
        font-size: 10px;
        margin-bottom: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }

    .clients-section {
        padding: 30px 16px;
    }

    .clients-label {
        font-size: 10px;
        margin-bottom: 20px;
    }

    .clients-grid {
        gap: 16px;
        flex-direction: column;
        align-items: center;
    }

    .client-logo {
        font-size: 13px;
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 30px 12px;
    }

    .hero-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 13px;
        margin: 0 auto 20px;
    }

    .hero-badge {
        padding: 6px 12px;
        font-size: 9px;
    }

    .services-section {
        padding: 20px 12px;
    }

    .services-tabs {
        margin-bottom: 20px;
        gap: 6px;
    }

    .tab-button {
        padding: 10px 12px;
        font-size: 10px;
    }

    .service-content-left,
    .service-content-right {
        padding: 20px 12px;
    }

    .service-title {
        font-size: 18px;
        line-height: 1.3;
    }

    .service-badge {
        padding: 5px 10px;
        font-size: 9px;
    }

    .cta-section {
        padding: 30px 12px;
    }

    .cta-section h2 {
        font-size: 20px;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .btn {
        padding: 11px 18px;
        font-size: 13px;
    }

    .clients-section {
        padding: 20px 12px;
    }

    .stat-box-large {
        font-size: 32px;
    }

    .stat-box-text {
        font-size: 12px;
    }


}