:root {
    --brand: #007DA1;
    --brand-dark: #005F7F;
    --title-dark: #1F2D3D;
}

/* ---------------------------
   BASE
--------------------------- */
body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

.glass {
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(6px);
}

.shadow-soft {
    box-shadow: 0 10px 25px rgba(2, 6, 23, .15);
}

/* ---------------------------
   HERO ANIMATION
--------------------------- */
@keyframes heroBounceIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-animate {
    animation: heroBounceIn .6s ease-out;
}


/* ---------------------------
   PRODUCTOS: ocultar scrollbar
--------------------------- */
#productSlider {
    scrollbar-width: none;
}

#productSlider::-webkit-scrollbar {
    display: none;
}

/* ---------------------------
   MODAL: fade in (modal)
--------------------------- */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fadeIn {
    animation: modalFadeIn .35s ease-out;
}

/* ---------------------------
   HEADER sticky
--------------------------- */
#siteHeader {
    position: sticky;
    top: 0;
    z-index: 50;
}

/* ---------------------------
   HOVER TARJETAS
--------------------------- */
.card-hover {
    transition: transform .7s, box-shadow .7s;
}

.card-hover:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 14px rgba(0, 146, 181, .15);
}

/* ---------------------------
   SOMBRA SUAVE FRANJA
--------------------------- */
.sombra-franja {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .10);
    backdrop-filter: blur(4px);
}

/* ---------------------------
   FADE-IN (secciones)
--------------------------- */
@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: sectionFadeIn .9s ease-in-out forwards;
}

.rotate-90 {
    transform: rotate(90deg);
}

/* -------------------------------------------
   BOTÓN STICKY
------------------------------------------- */
.cotiza-sticky {
    position: fixed;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    z-index: 999;

    background: var(--rentainer-yellow, #FFD43B);
    color: #fff;
    font-weight: 800;
    padding: 14px 22px;
    border-radius: 50px 0 0 50px;

    display: flex;
    align-items: center;
    gap: 10px;

    box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
    backdrop-filter: blur(4px);
    transition: all .25s ease;
}

.cotiza-sticky .arrow {
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    margin-right: 4px;
}

.cotiza-sticky:hover {
    transform: translateY(-50%) scale(1.07);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}

@keyframes stickyBounceSmooth {
    0% {
        transform: translateY(-50%) scale(1);
    }

    40% {
        transform: translateY(calc(-50% - 4px)) scale(1.06);
    }

    65% {
        transform: translateY(calc(-50% + 2px)) scale(1.03);
    }

    100% {
        transform: translateY(-50%) scale(1);
    }
}

.sticky-pulse {
    animation: stickyBounceSmooth 1.8s infinite ease-in-out;
}

@media (prefers-color-scheme: dark) {
    .cotiza-sticky {
        background: #FFC300;
        color: #1a1a1a;
        box-shadow: 0 6px 20px rgba(255, 255, 255, .15);
    }

    .cotiza-sticky:hover {
        box-shadow: 0 12px 30px rgba(255, 255, 255, .25);
    }
}

/* -------------------------------------------
   WHATSAPP STICKY
------------------------------------------- */
.whatsapp-sticky {
    cursor: pointer;
}

.ws-icon {
    animation: wsFloat 3s ease-in-out infinite;
}

@keyframes wsFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.whatsapp-sticky:hover .ws-icon {
    animation: wsBounce .6s ease-out;
}

@keyframes wsBounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.18);
    }

    100% {
        transform: scale(1.08);
    }
}

.whatsapp-label {
    border: 1px solid #f1f1f1;
}

/* -------------------------------------------
   NAV LINK underline
------------------------------------------- */
.nav-link {
    position: relative;
    padding-bottom: 3px;
    transition: color .3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: #FFD221;
    transition: width .35s ease;
    border-radius: 3px;
}

.nav-link:hover {
    color: #FFD221;
}

.nav-link:hover::after {
    width: 100%;
}

/* -------------------------------------------
   TARJETAS + BOTÓN UNIFICADO
------------------------------------------- */
.card-product {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all .25s ease;
}

.card-product:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}

.btn-product {
    width: 100%;
    background: #007DA1;
    color: #fff;
    padding: 10px 0;
    border-radius: 10px;
    font-weight: 600;
    margin-top: auto;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
    transition: all .25s ease;
}

.btn-product:hover {
    background: #005F7F;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
}

/* -------------------------------------------
   NO SCROLLBAR util
------------------------------------------- */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Flechas carrusel */
.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .25);
    transition: all .25s ease;
    z-index: 20;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, .85);
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}

/* -------------------------------------------
   SECTION HEADER (si lo usas)
------------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.section-header.left {
    text-align: left;
}

.section-eyebrow {
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 600;
    color: #0284c7;
    margin-bottom: .75rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -.02em;
    line-height: 1.15;
}

@media(min-width:768px) {
    .section-title {
        font-size: 1.875rem;
    }

    .section-eyebrow {
        font-size: .875rem;
    }
}

@media(min-width:1024px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-subtitle {
    margin-top: .75rem;
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    max-width: 48rem;
}

@media(min-width:768px) {
    .section-subtitle {
        font-size: 1.125rem;
    }
}

/* -------------------------------------------
   GALERÍA MODAL PROYECTOS
------------------------------------------- */
.pr-gallery {
    width: 100%;
}

.pr-gallery__viewport {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .08);
    background: #f1f5f9;
}

.pr-gallery__track {
    display: flex;
    transition: transform 280ms ease;
    will-change: transform;
}

.pr-gallery__slide {
    min-width: 100%;
    height: 14rem;
}

@media(min-width:768px) {
    .pr-gallery__slide {
        height: 20rem;
    }
}

.pr-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pr-gallery__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .35);
    background: rgba(255, 255, 255, .88);
    color: #0f172a;
    font-size: 28px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 160ms ease, transform 160ms ease, opacity 160ms ease;
    opacity: .95;
}

.pr-gallery__btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.02);
}

.pr-gallery__btn--prev {
    left: 12px;
}

.pr-gallery__btn--next {
    right: 12px;
}

.pr-gallery__counter {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .55);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.pr-gallery__thumbs {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.pr-gallery__thumb {
    width: 84px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    flex: 0 0 auto;
    border: 1px solid rgba(148, 163, 184, .45);
    background: #e2e8f0;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease;
}

.pr-gallery__thumb:hover {
    transform: translateY(-1px);
    border-color: rgba(14, 165, 233, .55);
}

.pr-gallery__thumb.is-active {
    border-color: rgba(14, 165, 233, .9);
    box-shadow: 0 8px 16px rgba(2, 132, 199, .10);
}

.pr-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media(max-width:420px) {
    .pr-gallery__btn {
        width: 38px;
        height: 38px;
    }
}
.odoo-form-wrapper {
    width: 100%;
    max-width: 620px;
    margin: 20px auto 0 auto;
    /* esto lo baja un poco */
    padding-top: 10px;
    /* separa el formulario del borde */
    border-radius: 50px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.odoo-form-iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
    background: #ffffff;
}

.odoo-form-wrapper {
    padding: 20px 20px 10px 20px;
}
/* ===== SECCIÓN EXPLORA SOLUCIONES ===== */
.solutions-explorer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(0, 125, 161, 0.06) 0, transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(245, 158, 11, 0.07) 0, transparent 24%),
        linear-gradient(180deg, #f7fbfd 0%, #f3f8fb 100%);
    padding: 64px 24px 56px;
}

.solutions-explorer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 24%);
    opacity: 0.9;
}

.solutions-explorer__inner {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
}

.solutions-explorer__header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 30px;
}

.solutions-explorer__line {
    width: 92px;
    height: 4px;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, #007da1 0%, #f59e0b 100%);
    box-shadow: 0 4px 12px rgba(0, 125, 161, 0.15);
}

.solutions-explorer__title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: #0b1736;
    text-wrap: balance;
}

.solutions-explorer__subtitle {
    margin: 16px auto 0;
    max-width: 760px;
    font-size: 1.05rem;
    line-height: 1.72;
    color: #5f6f84;
    text-wrap: balance;
}

/* ===== GRID ===== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

/* ===== MINI TARJETAS ===== */
.solution-pill {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 20px 22px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    color: #0f2742;
    text-decoration: none;
    border: 1px solid rgba(15, 39, 66, 0.06);
    box-shadow:
        0 8px 24px rgba(15, 23, 42, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
    overflow: hidden;
    isolation: isolate;

    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.38s ease,
        border-color 0.32s ease,
        background-color 0.32s ease;
}

.solution-pill::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg,
            rgba(0, 125, 161, 0.045) 0%,
            rgba(245, 158, 11, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 0;
}

.solution-pill::after {
    content: "";
    position: absolute;
    inset: auto auto 0 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 125, 161, 0.16), rgba(245, 158, 11, 0.14));
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 0;
}

.solution-pill:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow:
        0 20px 42px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(0, 125, 161, 0.10);
    border-color: rgba(0, 125, 161, 0.20);
    background: linear-gradient(180deg, #ffffff 0%, #f9fcfe 100%);
}

.solution-pill:hover::before,
.solution-pill:hover::after {
    opacity: 1;
}

.solution-pill__icon {
    position: relative;
    z-index: 1;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.14) 0%, rgba(245, 158, 11, 0.10) 100%);
    color: #b86a07;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;

    transition:
        transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.28s ease,
        color 0.28s ease,
        box-shadow 0.28s ease;
}

.solution-pill:hover .solution-pill__icon {
    transform: scale(1.10);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.22) 0%, rgba(245, 158, 11, 0.16) 100%);
    color: #8a4b00;
    box-shadow:
        0 10px 20px rgba(245, 158, 11, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.72) inset;
}

.solution-pill__icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.solution-pill__text {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    line-height: 1.32;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: inherit;
    text-wrap: balance;
}

/* ===== ENTRADA SUTIL ===== */
.solution-pill {
    opacity: 0;
    transform: translateY(10px);
    animation: solutionFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.solution-pill:nth-child(1) {
    animation-delay: 0.04s;
}

.solution-pill:nth-child(2) {
    animation-delay: 0.08s;
}

.solution-pill:nth-child(3) {
    animation-delay: 0.12s;
}

.solution-pill:nth-child(4) {
    animation-delay: 0.16s;
}

.solution-pill:nth-child(5) {
    animation-delay: 0.20s;
}

.solution-pill:nth-child(6) {
    animation-delay: 0.24s;
}

@keyframes solutionFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== REDUCIR MOVIMIENTO SI EL USUARIO LO PREFIERE ===== */
@media (prefers-reduced-motion: reduce) {

    .solution-pill,
    .solution-pill::before,
    .solution-pill::after,
    .solution-pill__icon {
        animation: none !important;
        transition: none !important;
    }

    .solution-pill {
        opacity: 1;
        transform: none;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .solutions-explorer {
        padding: 56px 22px 76px;
    }

    .solutions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .solutions-explorer__header {
        margin-bottom: 32px;
    }
}

@media (max-width: 640px) {
    .solutions-explorer {
        padding: 44px 18px 40px;
    }

    .solutions-explorer__header {
        margin-bottom: 24px;
    }

    .solutions-explorer__line {
        width: 76px;
        margin-bottom: 16px;
    }

    .solutions-explorer__title {
        font-size: clamp(1.8rem, 7vw, 2.35rem);
        line-height: 1.08;
    }

    .solutions-explorer__subtitle {
        font-size: 0.96rem;
        line-height: 1.62;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .solution-pill {
        min-height: 76px;
        padding: 16px 16px;
        border-radius: 16px;
    }

    .solution-pill__icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 12px;
    }

    .solution-pill__icon svg {
        width: 20px;
        height: 20px;
    }

    .solution-pill__text {
        font-size: 0.96rem;
    }
}

html {
    scroll-behavior: smooth;
}

#producto-20ft,
#producto-bodega,
#producto-conjuntos,
#producto-baterias,
#proyecto-metro-bogota,
#proyecto-lasalle {
    scroll-margin-top: 140px;
}