/* =========================================================
   TEKMA - Mejoras visuales (Nov 2026)
   Hoja de estilos de capa superior: se carga al final y solo
   sobrescribe. Para revertir, quitar el <link> de index.html.
   ========================================================= */

:root {
    --tk-orange: #F25C05;
    --tk-orange-2: #FF7A2F;
    --tk-ink: #0f1014;
    --tk-radius: 14px;
    --tk-shadow: 0 18px 40px -18px rgba(15, 16, 20, 0.35);
}

html { scroll-behavior: smooth; }
::selection { background: var(--tk-orange); color: #fff; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--tk-orange); outline-offset: 3px; }

/* ---------- HERO ---------- */

/* Capa oscura degradada: el titular siempre se lee sobre la foto */
.banner-one .banner-carousel .slide-item:before {
    opacity: 1;
    background: linear-gradient(90deg, rgba(15, 16, 20, 0.88) 0%, rgba(15, 16, 20, 0.6) 42%, rgba(15, 16, 20, 0.12) 100%);
}

.banner-one .banner-carousel .content-box h1 {
    font-size: clamp(48px, 7.2vw, 118px);
    line-height: 0.9em;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}

.banner-one .banner-carousel .content-box .sub-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    letter-spacing: 0.25em;
    color: var(--tk-orange-2);
}
.banner-one .banner-carousel .content-box .sub-title:before {
    content: "";
    width: 40px;
    height: 2px;
    background: var(--tk-orange);
}

/* Revelado más rápido: antes el titular tardaba 2.3 s en aparecer
   y el slide cambiaba a los 4 s, casi no se alcanzaba a leer */
.banner-one .banner-carousel .active .content-box .sub-title { transition-delay: 150ms; }
.banner-one .banner-carousel .active .content-box h1 { transition-duration: 800ms; transition-delay: 300ms; }
.banner-one .banner-carousel .active .content-box .link-box { transition-delay: 600ms; }

.banner-one .banner-carousel .content-box .link-box {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 40px;
}
.banner-one .banner-carousel .content-box .link-box .ml-3 { margin-left: 0 !important; }

/* Segundo botón en estilo contorno para jerarquía visual */
.banner-one .banner-carousel .content-box .link-box .theme-btn + .theme-btn {
    background: transparent;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85);
}
.banner-one .banner-carousel .content-box .link-box .theme-btn + .theme-btn .btn-curve { display: none; }
.banner-one .banner-carousel .content-box .link-box .theme-btn + .theme-btn .btn-title { color: #fff; }
.banner-one .banner-carousel .content-box .link-box .theme-btn + .theme-btn:hover {
    background: #fff;
}
.banner-one .banner-carousel .content-box .link-box .theme-btn + .theme-btn:hover .btn-title { color: var(--tk-ink); }

/* ---------- BOTONES GENERALES ---------- */
.theme-btn.btn-style-one {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.theme-btn.btn-style-one:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -10px rgba(242, 92, 5, 0.6);
}

/* ---------- SERVICIOS ---------- */
.services-section .service-block .inner-box {
    border-radius: var(--tk-radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.services-section .service-block .inner-box:hover {
    transform: translateY(-6px);
    border-color: rgba(242, 92, 5, 0.55);
    box-shadow: 0 24px 50px -24px rgba(242, 92, 5, 0.55);
}
.services-section .service-block .icon-box { transition: transform 0.35s ease; }
.services-section .service-block .inner-box:hover .icon-box { transform: scale(1.08); }

/* ---------- IMÁGENES CON ESQUINAS SUAVES ---------- */
.about-section .image-column img,
.we-do-section .featured-block .image img,
.live-section .image-layer,
.live-section .inner-container {
    border-radius: var(--tk-radius);
}
.live-section .inner-container { overflow: hidden; box-shadow: var(--tk-shadow); }

/* Acordeón "Impulso digital" como tarjetas */
.we-do-section .accordion-box .block {
    border-radius: 10px;
    transition: box-shadow 0.3s ease;
}
.we-do-section .accordion-box .block.active-block { box-shadow: var(--tk-shadow); }

/* ---------- CLIENTES ---------- */
.sponsors-carousel .slide-item { padding: 12px 6px 18px; }
.sponsors-carousel .image-box {
    background: #fff;
    border: 1px solid #ececf0;
    border-radius: var(--tk-radius);
    height: 110px;
    align-items: center;
    padding: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.sponsors-carousel .image-box img {
    max-height: 72px;
    width: auto !important;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.75;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.sponsors-carousel .slide-item:hover .image-box {
    transform: translateY(-4px);
    border-color: rgba(242, 92, 5, 0.4);
    box-shadow: var(--tk-shadow);
}
.sponsors-carousel .slide-item:hover .image-box img { filter: none; opacity: 1; }
.sponsors-carousel .client-name {
    font-size: 12px;
    letter-spacing: 0.12em;
    color: #6b6b75;
}

/* ---------- CTA ---------- */
.call-to-section .inner {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(242, 92, 5, 0.7);
}

/* ---------- MÓVIL ---------- */
@media only screen and (max-width: 767px) {
    .banner-one .banner-carousel .slide-item:before {
        background: linear-gradient(180deg, rgba(15, 16, 20, 0.55) 0%, rgba(15, 16, 20, 0.82) 100%);
    }
    .banner-one .banner-carousel .content-box { height: 640px; }
    .banner-one .banner-carousel .content-box .sub-title { font-size: 14px; justify-content: center; }
    .banner-one .banner-carousel .content-box h1 { font-size: 44px; line-height: 0.95em; }
    .banner-one .banner-carousel .content-box h1 br { display: none; }
    .banner-one .banner-carousel .content-box .link-box {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 30px 10px 0;
    }
    .banner-one .banner-carousel .content-box .link-box .theme-btn { text-align: center; }

    /* Servicios en 2 columnas en lugar de tarjetas gigantes una por fila */
    .services-section .service-block {
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: 6px;
        padding-right: 6px;
    }
    .services-section .service-block .inner-box {
        padding: 22px 16px 22px !important;
        min-height: 0 !important;
    }
    .services-section .service-block h6 { font-size: 15px; }

}

/* =========================================================
   PÁGINAS INTERNAS (Servicios, Nosotros, Misión, Contacto)
   ========================================================= */

/* Cabecera: capa oscura para que el título se lea sobre el video */
.page-banner .image-layer:after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(15, 16, 20, 0.55) 0%, rgba(15, 16, 20, 0.8) 100%);
    pointer-events: none;
}
.page-banner h1 {
    font-size: clamp(54px, 7vw, 100px);
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
}
.page-banner .bread-crumb {
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    margin-top: 14px;
}
.page-banner .bread-crumb li { font-size: 15px; letter-spacing: 0.06em; }

/* Servicios: tarjetas blancas */
.services-section-three .service-block .inner-box {
    border-radius: var(--tk-radius);
    border: 1px solid #ececf0;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.services-section-three .service-block .inner-box:hover {
    transform: translateY(-6px);
    border-color: rgba(242, 92, 5, 0.35);
    box-shadow: var(--tk-shadow);
}

/* Pestañas "Trabajamos con diversas industrias" */
.we-work-section .tab-btns,
.we-work-section .tab-btns .tab-btn:first-child { border-radius: var(--tk-radius) 0 0 var(--tk-radius); }
.we-work-section .tab-btns { overflow: hidden; }
.we-work-section .tab-btns .tab-btn:last-child { border-radius: 0 var(--tk-radius) var(--tk-radius) 0; }
.we-work-section .image img,
.we-work-section .image-box img { border-radius: var(--tk-radius); }

/* CTA naranja de páginas internas */
.call-to-section-two { position: relative; }

/* Nosotros / Misión: imágenes con esquinas suaves */
.about-me-one img,
.feature-six img { border-radius: var(--tk-radius); }

/* Contacto: tarjeta de sede con iconos */
.contact-section .info-block .inner-box {
    border-radius: 18px;
    border: 1px solid #ececf0;
    box-shadow: var(--tk-shadow);
    border-top: 4px solid var(--tk-orange);
}
.contact-section .info-block .info {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 40px;
}
.contact-section .info-block .info li {
    position: relative;
    padding-left: 30px;
}
.contact-section .info-block .info li:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--tk-orange);
}
.contact-section .info-block .info li:nth-child(1):before { content: "\f3c5"; }
.contact-section .info-block .info li:nth-child(2):before { content: "\f0e0"; }
.contact-section .info-block .info li:nth-child(3):before { content: "\f095"; }

.contact-section .map-box {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--tk-shadow);
}
.contact-section .map-box iframe { display: block; }

.contact-section .form-box .default-form {
    background: #fff;
    border: 1px solid #ececf0;
    border-radius: 18px;
    padding: 40px;
    box-shadow: var(--tk-shadow);
}
.default-form .form-group input[type=text],
.default-form .form-group input[type=email],
.default-form .form-group input[type=tel],
.default-form .form-group textarea {
    border-radius: 10px;
    border: 1px solid #e3e3e8;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.default-form .form-group input:focus,
.default-form .form-group textarea:focus {
    border-color: var(--tk-orange);
    box-shadow: 0 0 0 4px rgba(242, 92, 5, 0.12);
}

@media only screen and (max-width: 767px) {
    .page-banner .inner-container { padding: 170px 0 80px; }
    .page-banner h1 { font-size: 48px; }
    .contact-section .form-box .default-form { padding: 22px 16px; }
    .contact-section .info-block .info { flex-direction: column; }
    .we-work-section .tab-btns .tab-btn { border-radius: 10px !important; }
}

/* Detalle de servicio: fotos recortadas a proporción fija y barra lateral */
.service-details .image { overflow: hidden; border-radius: var(--tk-radius); }
.service-details .image img { filter: none; }
.service-details .image:hover img { transform: scale(1.02); }
.service-details .main-image img {
    width: 100%;
    height: 424px;
    object-fit: cover;
    border-radius: var(--tk-radius);
}
.service-details .image-col .image img {
    width: 100%;
    height: 334px;
    object-fit: cover;
    border-radius: var(--tk-radius);
}
.sidebar-page-container .sidebar .sidebar-widget,
.sidebar-page-container .sidebar > div {
    border-radius: var(--tk-radius);
    overflow: hidden;
}
@media only screen and (max-width: 767px) {
    .service-details .main-image img { height: 240px; }
    .service-details .image-col .image img { height: 220px; }
}
