/********** Template CSS — Rediseño Premium BTD Negocios **********/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Rubik:wght@500;600;700;800&display=swap');

:root {
    --primary:        #154BA6;
    --primary-dark:   #0d3580;
    --primary-light:  #3a6fd4;
    --primary-glow:   rgba(21, 75, 166, 0.15);
    --secondary:      #6B6D70;
    --light:          #F4F6FB;
    --dark:           #0D1B2A;
    --dark-2:         #162032;
    --accent:         #F59E0B;
    --accent-light:   #FDE68A;
    --white:          #ffffff;
    --border:         rgba(21, 75, 166, 0.12);
    --shadow-sm:      0 2px 12px rgba(13, 27, 42, 0.08);
    --shadow-md:      0 8px 32px rgba(13, 27, 42, 0.14);
    --shadow-lg:      0 16px 56px rgba(13, 27, 42, 0.18);
    --radius:         12px;
    --radius-lg:      20px;
    --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: #2d3748;
    background: #fff;
    line-height: 1.7;
}

h1, h2, .h1, .h2 { font-family: 'Rubik', sans-serif; font-weight: 700 !important; }
h3, h4, .h3, .h4 { font-family: 'Rubik', sans-serif; font-weight: 600 !important; }
h5, h6, .h5, .h6 { font-weight: 600 !important; }
.fw-bold    { font-weight: 700 !important; }
.fw-medium  { font-weight: 600 !important; }
.fw-semi-bold { font-weight: 500 !important; }

/* ─── Utilities ─────────────────────────────────────── */
.text-primary { color: var(--primary) !important; }
.bg-primary   { background-color: var(--primary) !important; }
.bg-dark      { background-color: var(--dark) !important; }

/* ─── Scrollbar ──────────────────────────────────────── */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 4px; }

/* ─── Back to Top ────────────────────────────────────── */
.back-to-top {
    position: fixed;
    display: none;
    right: 28px;
    bottom: 26px;
    z-index: 99;
    width: 46px;
    height: 46px;
    border-radius: 50% !important;
    background: var(--primary) !important;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 18px rgba(21,75,166,0.4);
    transition: var(--transition);
}
.back-to-top:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(21,75,166,0.5);
}

/* ─── Spinner ────────────────────────────────────────── */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    background: var(--dark) !important;
}
#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
.spinner-border.text-primary { color: var(--accent) !important; }

/* ─── Buttons ────────────────────────────────────────── */
.btn {
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    border-radius: var(--radius) !important;
}
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(21,75,166,0.3);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(21,75,166,0.4);
}
.btn-outline-primary { border-color: var(--primary); color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-success { border-radius: var(--radius) !important; }
.btn-light   { border-radius: var(--radius) !important; }

.btn-square     { width: 38px; height: 38px; }
.btn-sm-square  { width: 32px; height: 32px; }
.btn-lg-square  { width: 50px; height: 50px; }
.btn-square, .btn-sm-square, .btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50% !important;
}

/* ─── Section Label ──────────────────────────────────── */
p.fw-medium.text-uppercase.text-primary {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
p.fw-medium.text-uppercase.text-primary::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* ─── Topbar ─────────────────────────────────────────── */
.topbar-right {
    position: relative;
    background: var(--primary);
}
.topbar-right::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 100%;
    top: 0;
    left: -15px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}

/* ─── Navbar ─────────────────────────────────────────── */
.navbar.sticky-top {
    top: -120px;
    transition: top 0.4s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid var(--border);
}
.navbar.sticky-top.shadow-sm {
    box-shadow: 0 4px 20px rgba(13,27,42,0.12) !important;
}

.navbar .navbar-brand {
    position: relative;
    padding-right: 50px;
    height: 80px;
    display: flex;
    align-items: center;
    background: var(--primary);
}
.navbar .navbar-brand::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 100%;
    top: 0;
    right: -25px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 20px 0;
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    position: relative;
}
.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 14px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}
.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 100%;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 6px;
    font-size: 0.75rem;
}
.navbar .dropdown-menu {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    border-top: 3px solid var(--primary);
}
.navbar .dropdown-item {
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
}
.navbar .dropdown-item:hover {
    background: var(--primary-glow);
    color: var(--primary);
    padding-left: 20px;
}
.navbar .dropdown-item.active {
    background: var(--primary);
    color: #fff;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link { margin-right: 0; padding: 10px 0; }
    .navbar .navbar-nav .nav-link::after { display: none; }
    .navbar .navbar-nav { border-top: 1px solid #eee; }
}
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        opacity: 1;
    }
}

/* ─── Hero Carousel ──────────────────────────────────── */
.carousel-caption {
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(105deg, rgba(10,22,60,0.88) 0%, rgba(10,22,60,0.45) 60%, rgba(10,22,60,0.1) 100%);
    z-index: 1;
}
.carousel-control-prev, .carousel-control-next { width: 10%; }
.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(21,75,166,0.4);
}
@media (max-width: 768px) {
    #header-carousel .carousel-item { position: relative; min-height: 460px; }
    #header-carousel .carousel-item img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
}

/* ─── Page Header ────────────────────────────────────── */
.page-header {
    background: linear-gradient(105deg, rgba(10,22,60,0.92) 0%, rgba(21,75,166,0.7) 100%),
                url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 60px;
    background: #fff;
    clip-path: ellipse(55% 100% at 50% 100%);
}
.page-header .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.5); }
.page-header .breadcrumb-item, .page-header .breadcrumb-item a {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
}
.page-header .breadcrumb-item.active { color: var(--accent); }
.page-header .breadcrumb-item a:hover { color: #fff; }

/* ─── Facts Section ──────────────────────────────────── */
.facts {
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
}
.facts .border {
    border-color: rgba(255,255,255,0.1) !important;
    border-radius: var(--radius) !important;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
    transition: var(--transition);
}
.facts .border:hover {
    border-color: var(--primary-light) !important;
    background: rgba(21,75,166,0.1);
    transform: translateY(-4px);
}

/* ─── About Feature Cards ────────────────────────────── */
.d-flex.align-items-center.bg-light.rounded.p-3 {
    border-radius: var(--radius) !important;
    transition: var(--transition);
    border: 1px solid transparent;
}
.d-flex.align-items-center.bg-light.rounded.p-3:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

/* ─── Features / Play Button ─────────────────────────── */
.btn-play {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: none;
    outline: none !important;
    padding: 0;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px rgba(21,75,166,0.5);
}
@media (max-width: 992px) {
    .btn-play { left: 50%; right: auto; transform: translate(-50%, -50%); }
}
.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 72px;
    height: 72px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}
.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 72px;
    height: 72px;
    background: var(--primary);
    border-radius: 100%;
}
.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    margin-left: 4px;
    border-left: 18px solid #fff;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
}
@keyframes pulse-border {
    0%   { transform: translateX(-50%) translateY(-50%) scale(1); opacity: 1; }
    100% { transform: translateX(-50%) translateY(-50%) scale(2.2); opacity: 0; }
}

.modal-video .modal-dialog { position: relative; max-width: 860px; margin: 60px auto 0 auto; }
.modal-video .modal-body { position: relative; padding: 0; }
.modal-video .modal-content { border-radius: var(--radius) !important; overflow: hidden; }

/* ─── Service Cards ──────────────────────────────────── */

/* Wrapper que da espacio al badge circular que sobresale */
.service-card-wrapper {
    padding-top: 64px;
    height: 100%;
}

.service-item {
    position: relative;
    height: 100%;
    border-radius: var(--radius-lg) !important;
    overflow: visible;
    background: #fff;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 28px 32px 28px;
}
.service-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

/* Imagen circular flotante en la parte superior */
.service-item .service-img {
    position: absolute;
    top: -56px;
    left: 50%;
    transform: translateX(-50%);
    width: 112px;
    height: 112px;
    padding: 6px;
    background: #fff;
    border-radius: 50% !important;
    border: 3px solid var(--primary);
    box-shadow: 0 8px 28px rgba(21,75,166,0.22);
    z-index: 2;
    flex-shrink: 0;
}
.service-item .service-img img {
    border-radius: 50%;
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

/* Zona del título (visible por defecto) */
.service-item .service-title {
    padding-top: 72px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: transparent;
    flex-shrink: 0;
}
.service-item .service-title h3 {
    color: var(--dark);
    font-size: 1.15rem;
    margin-bottom: 0;
}

/* Franja de color en la parte inferior de la card en hover */
.service-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    transition: height 0.3s ease;
}
.service-item:hover::after {
    height: 6px;
}

/* Texto de descripción corta */
.service-item .service-text {
    margin-top: 16px;
    flex-grow: 1;
    width: 100%;
    text-align: center;
    position: static;
    background: transparent;
}
.service-item .service-text p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* Botón dentro de la card */
.service-item .btn {
    position: static;
    transform: none;
    margin-top: 24px;
    width: auto;
    height: auto;
    padding: 10px 28px;
    color: var(--primary);
    background: #fff;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-sm);
    font-size: 0.88rem;
    font-weight: 600;
    flex-shrink: 0;
    border-radius: var(--radius) !important;
    transition: var(--transition);
}
.service-item .btn:hover {
    color: #fff;
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21,75,166,0.35);
}

/* ─── Project Carousel ───────────────────────────────── */
.project-carousel { position: relative; background: var(--dark); }
.project-item { position: relative; display: block; overflow: hidden; }
.project-item img {
    transition: transform 0.45s ease, filter 0.45s ease;
    display: block;
    width: 100%;
}
.project-item:hover img,
.project-carousel .owl-item.center img {
    transform: scale(1.06);
    filter: brightness(1.08);
}

/* Gradient overlay always visible */
.project-item .project-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 56px 18px 20px 18px;
    background: linear-gradient(to top, rgba(10,22,60,0.92) 0%, rgba(10,22,60,0.5) 55%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    transition: background 0.3s ease;
}
.project-item:hover .project-title,
.project-carousel .owl-item.center .project-title {
    background: linear-gradient(to top, rgba(21,75,166,0.95) 0%, rgba(21,75,166,0.55) 55%, transparent 100%);
}
.project-item .project-title::before { display: none; }
.project-item .project-title h5 {
    color: #fff !important;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    transition: var(--transition);
    opacity: 0;
    z-index: 1;
}
.project-carousel:hover .owl-nav { opacity: 1; }
.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 30px;
    width: 45px; height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--primary);
    border-radius: 50%;
    font-size: 22px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover { background: var(--primary-dark); transform: scale(1.1); }

/* ─── Footer ─────────────────────────────────────────── */
.footer {
    color: #94a3b8;
    background: linear-gradient(135deg, var(--dark) 0%, #0a1628 100%) !important;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}
.footer h5 { color: #fff !important; font-size: 1rem; letter-spacing: 0.04em; }
.footer .btn.btn-link {
    display: block;
    margin-bottom: 6px;
    padding: 0;
    text-align: left;
    color: #94a3b8;
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: capitalize;
    transition: var(--transition);
}
.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary-light);
    transition: var(--transition);
}
.footer .btn.btn-link:hover {
    color: #fff;
    letter-spacing: 1px;
    box-shadow: none;
}
.footer .btn.btn-link:hover::before { color: var(--accent); }

.footer .btn-square {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #94a3b8;
    transition: var(--transition);
}
.footer .btn-square:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-3px);
}
.footer p { color: #94a3b8; font-size: 0.9rem; }
.footer i.fa.fa-map-marker-alt,
.footer i.fa.fa-industry,
.footer i.fa.fa-phone-alt,
.footer i.fa.fa-envelope { color: var(--primary-light); }

.copyright {
    color: #64748b;
    border-top: 1px solid rgba(255,255,255,0.07);
    background: rgba(0,0,0,0.2);
    font-size: 0.85rem;
}
.copyright a { color: var(--primary-light); }
.copyright a:hover { color: #fff; }

/* ─── Language Selector ──────────────────────────────── */
.lang-btn {
    color: #6c757d;
    transition: var(--transition);
    font-size: 0.85rem;
}
.lang-btn:hover { background: var(--light); color: #333; }
.lang-btn.lang-active { background: var(--primary); color: #fff !important; }
.lang-btn.lang-active:hover { background: var(--primary-dark); }

/* ─── Info Boxes (index/about contact row) ───────────── */
.d-flex.align-items-center > .flex-shrink-0.btn-lg-square.rounded-circle.bg-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary)) !important;
    box-shadow: 0 4px 14px rgba(21,75,166,0.35);
}

/* ─── Facts counter number ───────────────────────────── */
.facts h1.display-2.text-primary { color: var(--accent) !important; }

/* ─── Miscelánea ─────────────────────────────────────── */
img { max-width: 100%; }
.rounded { border-radius: var(--radius) !important; }
.rounded-circle { border-radius: 50% !important; }

/* ─── Glassmorphism CTA boxes ────────────────────────── */
.bg-primary.rounded.p-5 {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: var(--shadow-lg);
}

/* ─── Galería lightbox items ─────────────────────────── */
.galeria-item { cursor: pointer; border-radius: var(--radius); overflow: hidden; }
.galeria-img { height: 220px; object-fit: cover; transition: transform 0.4s ease; }
.galeria-item:hover .galeria-img { transform: scale(1.06); }
.galeria-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(21,75,166,0.0) 30%, rgba(21,75,166,0.85) 100%);
    display: flex; flex-direction: column;
    align-items: center; justify-content: flex-end;
    padding: 16px;
    opacity: 0; transition: opacity 0.35s ease;
}
.galeria-item:hover .galeria-overlay { opacity: 1; }

/* ─── Nav pills (contact maps) ───────────────────────── */
.nav-pills .nav-link {
    border-radius: var(--radius) !important;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.nav-pills .nav-link.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(21,75,166,0.3);
}

/* ─── Modal ──────────────────────────────────────────── */
.modal-content { border-radius: var(--radius-lg) !important; border: none; }
.modal-header { border-bottom: 1px solid #f0f4ff; }
.modal-footer { border-top: 1px solid #f0f4ff; }

/* ─── Form Controls ──────────────────────────────────── */
.form-control {
    border-radius: var(--radius) !important;
    border: 1.5px solid #e2e8f0;
    font-size: 0.9rem;
    transition: var(--transition);
}
.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* ─── Table ──────────────────────────────────────────── */
.table { border-radius: var(--radius); overflow: hidden; }
.table-bordered { border-color: #e2e8f0; }
.table td { font-size: 0.9rem; }

/* ─── Responsive helpers ─────────────────────────────── */
@media (max-width: 575px) {
    .display-3 { font-size: 2rem; }
    .display-5 { font-size: 1.5rem; }
}

/* ─── Rediseño Home Industrial ──────────────────────── */
.navbar.sticky-top {
    top: 0;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.topbar-industrial {
    position: relative;
    z-index: 1035;
    background: linear-gradient(90deg, #08111f 0%, #102540 55%, #12365f 100%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-industrial__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 48px;
}
.topbar-industrial__items {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.topbar-industrial__item,
.topbar-industrial__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.82);
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    text-decoration: none;
}
.topbar-industrial__item i,
.topbar-industrial__link i {
    color: var(--accent);
}
.topbar-industrial__link:hover {
    color: #fff;
}

.hero-industrial {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 26%),
        linear-gradient(180deg, #08111f 0%, #0f2036 100%);
}
.hero-industrial::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.65), transparent 88%);
    pointer-events: none;
    z-index: 0;
}
.hero-industrial .carousel-item {
    min-height: 760px;
}
.carousel-industrial__image {
    min-height: 760px;
    object-fit: cover;
    filter: saturate(0.95) contrast(1.02);
}
.carousel-industrial__caption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(8,17,31,0.88) 0%, rgba(8,17,31,0.72) 46%, rgba(8,17,31,0.3) 100%);
}
.carousel-industrial__content {
    max-width: 720px;
}
.carousel-industrial__eyebrow {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(245, 158, 11, 0.45);
    background: rgba(245, 158, 11, 0.12);
    color: #f8d58e;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.carousel-industrial__title {
    color: #fff;
    font-size: clamp(2.3rem, 4vw, 4.8rem);
    line-height: 1.05;
    margin-bottom: 20px;
    text-shadow: 0 8px 30px rgba(0,0,0,0.28);
}
.carousel-industrial__text {
    color: rgba(255,255,255,0.78);
    font-size: 1.02rem;
    max-width: 620px;
    margin-bottom: 30px;
}
.carousel-industrial__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.carousel-industrial__panel {
    margin-left: auto;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.12);
    background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 100%);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.24);
}
.carousel-industrial__panel-head {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}
.carousel-industrial__panel-head span {
    color: #9fb5d0;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.7rem;
}
.carousel-industrial__panel-head strong {
    color: #fff;
    font-size: 1.35rem;
}
.carousel-industrial__panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.carousel-industrial__metric {
    padding: 18px;
    border-radius: 18px;
    background: rgba(7, 20, 38, 0.52);
    border: 1px solid rgba(255,255,255,0.08);
}
.carousel-industrial__metric small {
    display: block;
    color: #91a4bd;
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}
.carousel-industrial__metric strong {
    display: block;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 4px;
}
.carousel-industrial__metric span {
    color: rgba(255,255,255,0.72);
    font-size: 0.82rem;
}
.carousel-industrial__metric--wide {
    grid-column: 1 / -1;
}
.carousel-industrial__metric ul {
    padding-left: 18px;
    margin: 0;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}
.carousel-industrial__metric li + li {
    margin-top: 8px;
}
.carousel-industrial__indicators {
    bottom: 36px;
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
    padding-left: max(12px, calc((100% - 1320px) / 2 + 12px));
}
.carousel-industrial__indicators button {
    width: 42px !important;
    height: 4px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.32) !important;
}
.carousel-industrial__indicators button.active {
    background: var(--accent) !important;
}
.carousel-industrial__control {
    width: 8%;
}

.home-section {
    position: relative;
    padding: 38px 0;
}
.home-section--intro {
    margin-top: -84px;
    z-index: 2;
}
.section-shell {
    position: relative;
    padding: 42px;
    border-radius: 32px;
}
.section-shell--light {
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
    border: 1px solid rgba(21,75,166,0.08);
    box-shadow: 0 24px 50px rgba(8,21,46,0.08);
}
.section-shell--dark {
    background:
        linear-gradient(135deg, rgba(8,17,31,0.97) 0%, rgba(15,32,54,0.96) 100%);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 24px 60px rgba(8,21,46,0.24);
}
.section-heading {
    max-width: 760px;
}
.section-heading--left {
    margin-left: 0;
}
.section-heading--light h2,
.section-heading--light p {
    color: #fff;
}
.section-heading p {
    color: #5f6c7b;
    font-size: 0.98rem;
}
.section-heading--light p {
    color: rgba(255,255,255,0.74);
}
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.section-kicker::before {
    content: '';
    width: 34px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
}
.section-shell--dark .section-kicker {
    color: #c8d7eb;
}

.home-trustbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 22px;
    border-radius: 28px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(21,75,166,0.08);
    box-shadow: 0 24px 50px rgba(8,21,46,0.12);
}
.home-trustbar__item {
    padding: 18px 18px 14px;
    border-radius: 20px;
    background: linear-gradient(180deg, #f9fbfd 0%, #f1f6fb 100%);
    border: 1px solid rgba(21,75,166,0.08);
}
.home-trustbar__item span,
.home-trustbar__item small {
    display: block;
}
.home-trustbar__item span {
    color: #6f7b8a;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.68rem;
}
.home-trustbar__item strong {
    color: #0d1b2a;
    font-size: 1.8rem;
    line-height: 1.1;
    margin: 10px 0 6px;
}
.home-trustbar__item small {
    color: #5f6c7b;
    font-size: 0.84rem;
}

.overview-media {
    position: relative;
    display: grid;
    grid-template-columns: 0.95fr 1.25fr;
    gap: 18px;
    align-items: end;
    min-height: 540px;
}
.overview-media__main,
.overview-media__side {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(8,21,46,0.16);
}
.overview-media__main img,
.overview-media__side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.overview-media__main {
    height: 440px;
}
.overview-media__side {
    height: 560px;
}
.overview-media__badge {
    position: absolute;
    left: 26px;
    bottom: 26px;
    max-width: 280px;
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(13,27,42,0.88);
    color: #fff;
    box-shadow: 0 18px 40px rgba(0,0,0,0.26);
}
.overview-media__badge strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.overview-media__badge span {
    color: rgba(255,255,255,0.72);
    font-size: 0.86rem;
}

.overview-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 28px 0 24px;
}
.overview-point {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid rgba(21,75,166,0.08);
}
.overview-point i {
    color: var(--accent);
}
.overview-point span {
    color: #0d1b2a;
    font-weight: 600;
    font-size: 0.92rem;
}
.overview-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.overview-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    min-height: 118px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
    border: 1px solid rgba(21,75,166,0.1);
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(8,21,46,0.06);
}
.overview-contact-card > div {
    flex: 1;
    min-width: 0;
}
.overview-contact-card i {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
}
.overview-contact-card span,
.overview-contact-card strong {
    display: block;
}
.overview-contact-card span {
    color: #6f7b8a;
    font-size: 0.78rem;
    margin-bottom: 6px;
}
.overview-contact-card strong {
    color: #0d1b2a;
    font-size: 0.95rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.advantage-card {
    height: 100%;
    padding: 26px;
    border-radius: 24px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}
.advantage-card i {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(58,111,212,0.2));
    color: #f7c66a;
    font-size: 1.2rem;
}
.advantage-card h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.advantage-card p {
    color: rgba(255,255,255,0.72);
    margin-bottom: 0;
    font-size: 0.92rem;
}

.process-intro {
    padding: 30px;
    border-radius: 28px;
    background: linear-gradient(180deg, #0d1b2a 0%, #12365f 100%);
    color: #fff;
    box-shadow: 0 20px 48px rgba(8,21,46,0.16);
}
.process-intro .section-kicker {
    color: #d5e4f6;
}
.process-intro h2,
.process-intro p {
    color: #fff;
}
.process-intro p {
    color: rgba(255,255,255,0.76);
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.process-card {
    position: relative;
    min-height: 100%;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
    border: 1px solid rgba(21,75,166,0.08);
    box-shadow: 0 16px 36px rgba(8,21,46,0.07);
}
.process-card__step {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(21,75,166,0.08);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}
.process-card h3 {
    font-size: 1.08rem;
    margin-bottom: 10px;
}
.process-card p {
    margin-bottom: 0;
    color: #5f6c7b;
}

.video-showcase {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    min-height: 520px;
    box-shadow: 0 28px 56px rgba(8,21,46,0.18);
}
.video-showcase__image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}
.video-showcase__overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 36px;
    background: linear-gradient(180deg, transparent 0%, rgba(8,17,31,0.88) 100%);
}
.video-showcase__overlay span {
    display: inline-block;
    color: #f7c66a;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    margin-bottom: 10px;
}
.video-showcase__overlay h3 {
    color: #fff;
    max-width: 460px;
    margin-bottom: 0;
}
.capacity-list {
    display: grid;
    gap: 14px;
}
.capacity-list__item {
    padding: 22px 24px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
    border: 1px solid rgba(21,75,166,0.08);
    box-shadow: 0 14px 32px rgba(8,21,46,0.07);
}
.capacity-list__item strong,
.capacity-list__item span {
    display: block;
}
.capacity-list__item strong {
    color: #0d1b2a;
    margin-bottom: 6px;
    font-size: 1rem;
}
.capacity-list__item span {
    color: #5f6c7b;
    font-size: 0.93rem;
}

.home-section--services {
    padding-top: 8px;
}
.service-card-industrial {
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(21,75,166,0.08);
    box-shadow: 0 18px 40px rgba(8,21,46,0.08);
    transition: var(--transition);
}
.service-card-industrial:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 52px rgba(8,21,46,0.14);
}
.service-card-industrial__media {
    position: relative;
    height: 240px;
    overflow: hidden;
}
.service-card-industrial__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.service-card-industrial:hover .service-card-industrial__media img {
    transform: scale(1.08);
}
.service-card-industrial__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,17,31,0.1) 0%, rgba(8,17,31,0.62) 100%);
}
.service-card-industrial__icon {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 1;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent), #ffbf47);
    color: #0d1b2a;
    box-shadow: 0 14px 30px rgba(245,158,11,0.32);
}
.service-card-industrial__body {
    padding: 24px;
}
.service-card-industrial__tag {
    margin-bottom: 12px;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    font-weight: 700;
}
.service-card-industrial__body h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.service-card-industrial__body p {
    color: #5f6c7b;
    min-height: 88px;
}

.home-section--projects {
    padding-bottom: 0;
}
.project-band {
    padding: 76px 0 0;
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.16), transparent 25%),
        linear-gradient(180deg, #08111f 0%, #0f2036 100%);
}
.project-band__heading {
    max-width: 760px;
    margin-bottom: 42px;
}
.project-band__heading p {
    color: rgba(255,255,255,0.72);
}
.project-band .section-kicker {
    color: #d5e4f6;
}
.project-carousel {
    padding-bottom: 74px;
    background: transparent;
}
.project-carousel .owl-stage-outer {
    overflow: visible;
}
.project-item {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}
.project-item img {
    height: 320px;
    object-fit: cover;
}
.project-item .project-title {
    padding: 90px 24px 24px;
}

@media (max-width: 1199px) {
    .carousel-industrial__panel {
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    .hero-industrial .carousel-item,
    .carousel-industrial__image {
        min-height: 700px;
    }
    .carousel-industrial__caption {
        padding-top: 110px;
        padding-bottom: 70px;
    }
    .carousel-industrial__panel-grid,
    .home-trustbar,
    .overview-points,
    .overview-contact-grid,
    .advantage-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
    .overview-media {
        min-height: auto;
        grid-template-columns: 1fr;
    }
    .overview-media__main,
    .overview-media__side {
        height: auto;
    }
    .overview-media__badge {
        position: static;
        margin-top: 14px;
    }
    .section-shell {
        padding: 28px;
    }
}

@media (max-width: 767.98px) {
    .hero-industrial .carousel-item,
    .carousel-industrial__image {
        min-height: 760px;
    }
    .carousel-industrial__caption {
        align-items: flex-start;
        padding-top: 120px;
    }
    .carousel-industrial__text {
        font-size: 0.95rem;
    }
    .carousel-industrial__indicators {
        padding-left: 20px;
    }
    .home-section {
        padding: 28px 0;
    }
    .home-section--intro {
        margin-top: -48px;
    }
    .video-showcase,
    .video-showcase__image {
        min-height: 420px;
        height: 420px;
    }
    .project-item img {
        height: 280px;
    }
}

@media (max-width: 575.98px) {
    .hero-industrial .carousel-item,
    .carousel-industrial__image {
        min-height: 820px;
    }
    .carousel-industrial__caption {
        padding-top: 108px;
        padding-bottom: 88px;
    }
    .carousel-industrial__eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.14em;
    }
    .carousel-industrial__title {
        font-size: 2rem;
        line-height: 1.08;
    }
    .carousel-industrial__text {
        font-size: 0.92rem;
    }
    .carousel-industrial__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .carousel-industrial__actions .btn {
        width: 100%;
        justify-content: center;
    }
    .carousel-industrial__panel,
    .section-shell {
        padding: 20px;
        border-radius: 24px;
    }
    .home-trustbar {
        padding: 16px;
        gap: 12px;
    }
    .home-trustbar__item {
        padding: 16px 14px 12px;
    }
    .overview-point,
    .overview-contact-card,
    .capacity-list__item,
    .process-card,
    .service-card-industrial__body {
        padding: 18px;
    }
    .overview-contact-card {
        min-height: 0;
    }
    .video-showcase,
    .video-showcase__image {
        min-height: 360px;
        height: 360px;
    }
    .video-showcase__overlay {
        padding: 24px 20px;
    }
    .btn-play {
        right: 18px;
        width: 64px;
        height: 64px;
    }
    .btn-play:before,
    .btn-play:after {
        width: 64px;
        height: 64px;
    }
    .project-band {
        padding-top: 56px;
    }
    .project-band__heading {
        margin-bottom: 28px;
    }
    .project-item img {
        height: 240px;
    }
    .project-item .project-title {
        padding: 72px 18px 18px;
    }
}
