/* ==========================================================================
   Data Warriors - Website Upgrade 2027
   Estilos complementarios a la plantilla Braintech (style.css / responsive.css).
   Se carga al final para sobrescribir solo lo necesario.
   ========================================================================== */

:root {
    --dw-blue: #106eea;
    --dw-navy: #03228f;
    --dw-deep: #071a4a;
    --dw-ink: #0a0f2c;
    --dw-cyan: #22d3ee;
    --dw-cyan-soft: rgba(34, 211, 238, 0.14);
    --dw-text: #454545;
    --dw-muted: #5c6378;
    --dw-border: #e3e8f4;
    --dw-radius: 10px;
}

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 90px; }
main:focus { outline: none; }

/* ---------- Utilidades de accesibilidad ---------- */
.dw-sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}
.dw-skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 10000;
    background: var(--dw-navy); color: #fff; padding: 10px 18px; border-radius: 6px;
    transition: top .2s;
}
.dw-skip-link:focus { top: 12px; color: #fff; }

.dw-site a:focus-visible,
.dw-site button:focus-visible,
.dw-site input:focus-visible,
.dw-site select:focus-visible,
.dw-site textarea:focus-visible,
.dw-site [tabindex]:focus-visible {
    outline: 3px solid var(--dw-cyan);
    outline-offset: 2px;
    box-shadow: 0 0 0 5px rgba(3, 34, 143, .35);
}

/* ---------- Header ---------- */
.dw-logo-link { display: inline-flex; align-items: center; gap: 10px; }
.dw-logo-link img { width: auto; max-height: 54px; }
.dw-logo-text {
    font-family: Livvic, sans-serif; font-size: 26px; font-weight: 600;
    color: #080627; line-height: 1; white-space: nowrap;
}
.dw-footer-logo { border-radius: 12px; }

.dw-menu-area { display: flex; align-items: center; justify-content: flex-end; }
.full-width-header .rs-header .menu-area .rs-menu ul#onepage-menu { white-space: nowrap; }
.full-width-header .rs-header .menu-area .rs-menu ul#onepage-menu > li { margin-right: 22px; }
.dw-site .readon { text-transform: none; }
.full-width-header .rs-header .menu-area .rs-menu ul#onepage-menu > li:last-child { margin-right: 0; }
.dw-header-actions { display: flex; align-items: center; gap: 16px; margin-left: 24px; }
.dw-header-cta.readon.learn-more { padding: 10px 16px; font-size: 13px; white-space: nowrap; }

.dw-lang { display: inline-flex; align-items: center; border: 1px solid var(--dw-border); border-radius: 30px; overflow: hidden; }
.dw-lang a {
    display: inline-block; padding: 6px 12px; font-size: 13px; font-weight: 700;
    color: var(--dw-navy); line-height: 1.2; letter-spacing: .5px;
}
.dw-lang a.active { background: var(--dw-navy); color: #fff; }
.dw-lang a:hover:not(.active) { background: var(--dw-cyan-soft); }
.dw-lang-mobile { display: none; }

@media (max-width: 1399px) {
    .dw-header-cta { display: none !important; }
}
@media (max-width: 1199px) {
    .full-width-header .rs-header .menu-area .rs-menu ul#onepage-menu > li { margin-right: 14px; }
    .dw-logo-text { font-size: 22px; }
    .dw-header-actions { margin-left: 14px; }
}
@media (max-width: 991px) {
    .dw-header-actions { display: none; }
    .dw-lang-mobile { display: inline-flex; margin-right: 14px; vertical-align: middle; }
    .full-width-header .rs-header .mobile-menu { display: flex; align-items: center; }
}

/* ---------- Hero ---------- */
.dw-hero-section { position: relative; }
.dw-hero { position: relative; background: var(--dw-deep); }
.rs-slider.style1 .slider-content.dw-slide {
    position: relative; overflow: hidden; background: var(--dw-deep);
    padding: 200px 0 210px;
}
.dw-slide-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center right; background-repeat: no-repeat;
}
.dw-slide::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(7, 26, 74, .94) 0%, rgba(7, 26, 74, .80) 45%, rgba(7, 26, 74, .35) 100%);
}
.dw-slide .container { position: relative; z-index: 2; }
.dw-slide .content-part { max-width: 760px; }
.rs-slider.style1 .slider-content .sl-sub-title {
    display: inline-block; font-size: 16px; line-height: 1.4; letter-spacing: 2px;
    text-transform: uppercase; color: var(--dw-cyan); margin-bottom: 20px;
    border-left: 3px solid var(--dw-cyan); padding-left: 12px;
}
.rs-slider.style1 .slider-content .sl-title {
    font-size: 64px; line-height: 1.1; margin-bottom: 28px;
}
.dw-line { display: block; }
.rs-slider.style1 .slider-content .sl-desc { font-size: 19px; line-height: 1.6; max-width: 640px; color: #e8eefc; }
.dw-hero .owl-dots {
    position: absolute; bottom: 36px; left: 0; right: 0; text-align: center; z-index: 3;
}
.dw-hero .owl-dot {
    display: inline-block; width: 12px; height: 12px; margin: 0 6px; border-radius: 50%;
    background: rgba(255, 255, 255, .45); cursor: pointer;
}
.dw-hero .owl-dot.active { background: var(--dw-cyan); }
.dw-hero .owl-dot span { display: none; }
.rs-slider.style1 .owl-nav .owl-next,
.rs-slider.style1 .owl-nav .owl-prev { border: 0; z-index: 3; }
/* Mostrar flechas también con foco de teclado */
.rs-slider.style1:focus-within .owl-nav .owl-next,
.rs-slider.style1:focus-within .owl-nav .owl-prev { visibility: visible; opacity: 1; }

.dw-carousel-toggle {
    position: absolute; right: 24px; bottom: 28px; z-index: 4;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .6); background: rgba(7, 26, 74, .6); color: #fff;
    cursor: pointer; font-size: 14px;
}
.dw-carousel-toggle:hover { background: var(--dw-blue); }

@media (max-width: 991px) {
    .rs-slider.style1 .slider-content.dw-slide { padding: 140px 0 150px; }
    .rs-slider.style1 .slider-content .sl-title { font-size: 46px; }
    .dw-slide::after { background: rgba(7, 26, 74, .82); }
}
@media (max-width: 575px) {
    .rs-slider.style1 .slider-content.dw-slide { padding: 90px 0 120px; }
    .rs-slider.style1 .slider-content .sl-title { font-size: 34px; }
    .rs-slider.style1 .slider-content .sl-desc { font-size: 16px; }
    .rs-slider.style1 .slider-content .sl-sub-title { font-size: 13px; }
}

/* ---------- Comunes ---------- */
.dw-section-lead { max-width: 760px; margin: 18px auto 0; font-size: 17px; color: var(--dw-muted); }
.dw-light, .dw-section-lead.dw-light { color: #d6e0f5; }
.dw-note { font-size: 14px; color: var(--dw-muted); margin-bottom: 0; }
.dw-note.dw-light { color: #aebbe0; }
.dw-kicker-light, .sec-title2 .sub-text.dw-kicker-light, .sec-title .sub-text.dw-kicker-light { color: var(--dw-cyan) !important; }
.dw-equal { display: flex; }
.dw-equal > * { width: 100%; }

/* ---------- Pilares ---------- */
.rs-services.main-home.style1 .services-item { height: 100%; }
.rs-services.main-home.style1 .services-item .services-icon .image-part img { width: 80px; height: 80px; object-fit: contain; }

/* ---------- Nosotros ---------- */
.dw-about-img { border-radius: 170px; width: 100%; height: auto; }
.dw-highlights { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.dw-highlights li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--dw-ink); line-height: 1.45; }
.dw-highlight-icon {
    flex: 0 0 40px; height: 40px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--dw-cyan-soft); color: var(--dw-navy); font-size: 17px;
}
@media (max-width: 575px) { .dw-highlights { grid-template-columns: 1fr; } }

/* ---------- Soluciones ---------- */
.rs-services.style4.modify1 .services-item.dw-service { height: 100%; align-items: flex-start; }
.dw-service .services-icon { flex: 0 0 auto; margin-right: 18px; }
.dw-service-tag {
    display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .6px;
    text-transform: uppercase; color: var(--dw-blue); margin-bottom: 6px;
}
.rs-services.style4.modify1 .services-item .services-content .title { margin-bottom: 12px; }
.dw-cap-label { font-size: 13px; font-weight: 700; color: var(--dw-navy); text-transform: uppercase; letter-spacing: .6px; margin: 14px 0 8px; }
.dw-cap-list { list-style: none; padding: 0; margin: 0; }
.dw-cap-list li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.5; margin-bottom: 5px; color: var(--dw-text); }
.dw-cap-list li::before {
    content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px;
    border-radius: 50%; background: var(--dw-cyan);
}

/* ---------- Ecosistema tecnológico ---------- */
.dw-technology { background: linear-gradient(160deg, var(--dw-deep) 0%, var(--dw-navy) 100%); color: #fff; }
.dw-technology .sec-title2 .title { color: #fff; }
.dw-tech-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dw-tech-group {
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--dw-radius); padding: 20px;
}
.dw-tech-group:last-child:nth-child(odd) { grid-column: 1 / -1; }
.dw-tech-group h3 { color: #fff; font-size: 18px; margin-bottom: 12px; }
.dw-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dw-chips li {
    font-size: 13.5px; line-height: 1.3; padding: 6px 12px; border-radius: 20px;
    background: var(--dw-cyan-soft); color: #dff8fd; border: 1px solid rgba(34, 211, 238, .35);
}
.dw-chips-lg li { font-size: 15px; padding: 9px 16px; }

.dw-arch { margin: 0; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--dw-radius); padding: 24px; }
.dw-arch figcaption h3 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.dw-arch figcaption p { color: #c7d3ef; font-size: 15px; margin-bottom: 18px; }
.dw-arch-layers { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.dw-arch-layer {
    position: relative; display: flex; gap: 14px; align-items: flex-start;
    padding: 14px 16px; border-radius: 8px; margin-bottom: 14px;
    background: rgba(16, 110, 234, .22); border-left: 4px solid var(--dw-cyan);
}
.dw-arch-layer:not(:last-child)::after {
    content: ""; position: absolute; left: 32px; bottom: -14px; width: 2px; height: 14px;
    background: rgba(34, 211, 238, .6);
}
.dw-arch-layer-2 { background: rgba(16, 110, 234, .30); }
.dw-arch-layer-3 { background: rgba(16, 110, 234, .38); }
.dw-arch-layer-4 { background: rgba(16, 110, 234, .30); }
.dw-arch-layer-5 { background: rgba(16, 110, 234, .22); margin-bottom: 0; }
.dw-arch-num {
    flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--dw-cyan); color: var(--dw-deep);
    display: inline-flex; align-items: center; justify-content: center; font-weight: 800;
}
.dw-arch-layer h4 { color: #fff; font-size: 16px; margin: 4px 0 6px; }
.dw-arch-layer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.dw-arch-layer ul li { color: #dbe5fb; font-size: 14px; }
.dw-arch-layer ul li:not(:last-child)::after { content: "·"; margin-left: 14px; color: var(--dw-cyan); }
@media (max-width: 575px) { .dw-tech-groups { grid-template-columns: 1fr; } }

/* ---------- Casos de aplicación ---------- */
.dw-card {
    background: #fff; border: 1px solid var(--dw-border); border-radius: var(--dw-radius);
    padding: 30px 28px; height: 100%; transition: box-shadow .3s, transform .3s;
}
.dw-card:hover { box-shadow: 0 14px 40px rgba(3, 34, 143, .10); transform: translateY(-3px); }
.dw-card h3 { font-size: 20px; margin: 16px 0 10px; color: var(--dw-ink); }
.dw-card p { font-size: 15.5px; color: var(--dw-text); }
.dw-card-img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.dw-card-icon {
    width: 56px; height: 56px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--dw-navy), var(--dw-blue)); color: #fff; font-size: 24px;
}
.dw-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dw-tags li { font-size: 12.5px; padding: 4px 10px; border-radius: 14px; background: #eef3fd; color: var(--dw-navy); font-weight: 600; }

/* ---------- CTA intermedio ---------- */
.dw-cta-img { border-radius: 300px 300px 0 0; width: 100%; height: auto; }
.rs-call-us .sec-title3 .title { font-size: 34px; line-height: 1.25; margin-bottom: 18px; }
.dw-btn-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px; }
.dw-link-light { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.dw-link-light:hover { color: var(--dw-cyan); }

/* ---------- Metodología ---------- */
.dw-process-kicker { background-color: #1E4BB1 !important; }
.dw-steps { list-style: none; padding: 0; margin-bottom: 0; }
.dw-steps .rs-addon-number { height: 100%; }

/* ---------- Equipo ---------- */
.dw-team-card { height: 100%; display: flex; flex-direction: column; }
.dw-team-card .image-inner img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.dw-team-card .team-content { flex: 1; }
.dw-team-card .person-name { font-size: 22px; margin-bottom: 4px; }
.dw-team-bio { font-size: 15px; line-height: 1.6; color: var(--dw-text); margin: 12px 0 14px; text-align: left; }
.dw-badge { margin: 10px 0 0; }
.dw-badge a {
    display: inline-block; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 20px;
    background: #fff6e0; color: #6b4a00; border: 1px solid #f2d48a;
}
.dw-badge a:hover { background: #ffecbf; }

/* ---------- Insights ---------- */
.dw-carousel-wrap { position: relative; }
.dw-insights .owl-stage { display: flex; }
.dw-insights .owl-item { display: flex; }
.dw-insight.blog-item { display: flex; flex-direction: column; width: 100%; height: 100%; }
.dw-insight .image-wrap img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.dw-insight .blog-content { flex: 1; display: flex; flex-direction: column; }
.dw-insight .blog-content .desc { flex: 1; }
.dw-insight .blog-title a { color: inherit; }
.dw-insight .post-categories li span {
    display: inline-block; background: var(--dw-blue); color: #fff; padding: 4px 14px; font-size: 13px; border-radius: 3px;
}
.dw-insight .blog-meta .dw-author { display: inline-block; font-size: 14px; color: var(--dw-muted); }
.dw-insight .blog-meta .date { margin-right: 14px; }
.dw-insight-context { font-size: 13.5px; color: var(--dw-muted); border-left: 3px solid var(--dw-cyan); padding-left: 10px; }
.dw-insight-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.dw-secondary-link { font-size: 14px; text-decoration: underline; }
.dw-lang-note { font-size: 12px; color: var(--dw-muted); background: #f1f3f8; padding: 2px 8px; border-radius: 10px; }
.dw-insights .owl-nav { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.dw-insights .owl-nav button.owl-prev,
.dw-insights .owl-nav button.owl-next {
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--dw-border);
    background: #fff; color: var(--dw-navy); font-size: 22px; cursor: pointer;
}
.dw-insights .owl-nav button:hover { background: var(--dw-blue); color: #fff; }
.dw-insights .owl-nav .disabled { opacity: .4; cursor: default; }
.dw-carousel-toggle-inline {
    bottom: 3px; right: auto; left: 50%; transform: translateX(110px);
    background: #fff; color: var(--dw-navy); border-color: var(--dw-border);
}

/* ---------- Alianzas ---------- */
.dw-partnerships { background: linear-gradient(135deg, var(--dw-ink) 0%, var(--dw-deep) 55%, var(--dw-navy) 100%); }
.dw-partnerships .sec-title .title { color: #fff; }
.dw-partner-areas {
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--dw-radius); padding: 30px;
}
.dw-partner-areas h3 { color: #fff; font-size: 20px; margin-bottom: 16px; }
.dw-btn-light.readon.learn-more { background: var(--dw-cyan); color: var(--dw-deep); font-weight: 700; }
.dw-btn-light.readon.learn-more:hover { background: #fff; color: var(--dw-navy); }

/* ---------- Contacto ---------- */
.dw-contact-p { opacity: .92; }
.dw-required-note { font-size: 14px; color: var(--dw-muted); margin: 6px 0 0; }
.dw-label { display: block; font-size: 14px; font-weight: 600; color: var(--dw-ink); margin-bottom: 6px; }
.dw-select { appearance: auto; cursor: pointer; }
.contact-widget .from-control.dw-select { height: 56px; }
.dw-check { display: flex; align-items: flex-start; gap: 10px; }
.dw-check input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 18px; }
.dw-check label { font-size: 15px; margin: 0; }
.dw-check a { text-decoration: underline; }
.dw-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.dw-validated .from-control:invalid, .dw-validated input:invalid { border-color: #c62828 !important; }
#form-messages { margin-bottom: 20px; font-weight: 600; }
#form-messages:empty { display: none; }
#form-messages.success { padding: 14px 18px; border-radius: 6px; background: #e7f6ec; color: #1b5e20; border: 1px solid #a5d6a7; }
#form-messages.error { padding: 14px 18px; border-radius: 6px; background: #fdecea; color: #8e1c1c; border: 1px solid #f5b7b1; }
.contact-widget .submit[disabled] { opacity: .7; cursor: wait; }

/* ---------- Footer ---------- */
.rs-footer .footer-top .widget-title { font-size: 22px; }
.dw-footer-tagline { font-weight: 700; color: var(--dw-navy); }
.dw-follow-btn.readon.learn-more { padding: 12px 20px; font-size: 14px; }
.dw-follow-btn i { margin-right: 6px; }

/* ---------- Aviso de privacidad ---------- */
.dw-privacy-header { padding: 18px 0; border-bottom: 1px solid var(--dw-border); }
.dw-privacy { max-width: 860px; padding-top: 50px; padding-bottom: 80px; }
.dw-privacy h1 { font-size: 40px; margin-bottom: 8px; }
.dw-privacy h2 { font-size: 22px; margin: 32px 0 10px; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important; animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .wow { visibility: visible !important; }
}

/* Título de la caja de metodología: textos más largos que el original */
.rs-process .process-wrap .sec-title .title { font-size: 30px; line-height: 1.25; }
@media (max-width: 575px) { .rs-process .process-wrap .sec-title .title { font-size: 26px; } }
@media (max-width: 420px) {
    .dw-logo-text { font-size: 18px; }
    .dw-logo-link img { max-height: 40px; }
    .dw-lang a { padding: 5px 9px; }
}

/* Footer inferior: leyenda de derechos a la izquierda, aviso de privacidad a la derecha */
.dw-copyright{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 24px;}
.dw-copyright p{margin:0;}
@media (max-width:575px){.dw-copyright{justify-content:center;text-align:center;}}
