:root {
    --custom-primary: #7dbf29;
    --custom-secondary: rgba(0, 40, 90, 1);
    --custom-secondary-2: #0ea7fd;
    --corner-color: var(--custom-secondary-2);
    --corner-gap: 1px;
    --corner-len: 30%;
    --corner-thick: 4px;
}

/* responsive opcional */
@media (max-width: 768px) {
    :root {
        --corner-gap: 1px;
        --corner-len: 30%;
        --corner-thick: 4px;
    }
}

@font-face {
    font-family: 'Lexend';
    src: url('../assets/font/Lexend/Lexend-VariableFont_wght.ttf') format('truetype');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

body {
    font-family: 'Lexend', sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lexend', 'Arial', sans-serif !important;
    box-sizing: border-box !important;
    font-style: normal !important;
    font-variant-alternates: normal !important;
    font-variant-caps: normal !important;
    font-variant-east-asian: normal !important;
    font-variant-emoji: normal !important;
    font-variant-ligatures: normal !important;
    font-variant-numeric: normal !important;
    font-variant-position: normal !important;
    font-weight: 300 !important;
    height: auto !important;
    overflow-wrap: break-word !important;
    pointer-events: all !important;
    text-align: left !important;
    text-indent: 0px !important;
    text-size-adjust: 100% !important;
    width: auto !important;
}

h1 {
    font-size: 42px !important;
    line-height: 56px !important;
}

h2 {
    font-size: 37.3333px !important;
    line-height: 44.8px !important;
}

/* responsive opcional */
@media (max-width: 768px) {
    h1 {
        font-size: 34px !important;
        line-height: 40px !important;
    }

    h2 {
        font-size: 30px !important;
        line-height: 36px !important;
    }
}

p {
    font-family: 'Lexend', Arial, sans-serif !important;
    font-size: 18.6667px !important;
    font-style: normal !important;
    font-variant-alternates: normal !important;
    font-variant-caps: normal !important;
    font-variant-east-asian: normal !important;
    font-variant-emoji: normal !important;
    font-variant-ligatures: normal !important;
    font-variant-numeric: normal !important;
    font-variant-position: normal !important;
    font-weight: 300 !important;
    height: auto !important;
    line-height: 22.4px !important;
    overflow-wrap: break-word !important;
    pointer-events: all !important;
    text-align: left !important;
    text-indent: 0px !important;
    text-size-adjust: 100% !important;
    vertical-align: baseline !important;
    width: auto !important;
    color: rgb(102, 102, 102) !important;
    box-sizing: border-box !important;
}

.hmsv-btn {
    background-image: linear-gradient(to right, var(--custom-secondary) 0%, var(--custom-primary) 51%, var(--custom-secondary) 100%);
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 16px #eee;
    padding: 6px 48px;
    align-content: space-around;
}

.hmsv-btn:hover,
.hmsv-btn.disabled:hover {
    background-position: right center;
    color: #fff;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--custom-primary) !important;
    border-color: var(--custom-primary) !important;
}

.btn-primary:hover {
    background-color: rgb(122, 217, 13) !important;
    border-color: var(--custom-primary) !important;
    color: white !important;
}

.form-control:focus {
    border-color: rgb(122, 217, 13) !important;
    box-shadow: 0 0 0 .25rem rgba(122, 217, 13, 0.25);
}

/* Checkbox normal */
input[type="checkbox"] {
    accent-color: #77d000;
    /* 🔑 Funciona en navegadores modernos */
}

/* Para más compatibilidad */
input[type="checkbox"]:checked {
    background-color: #77d000;
    border-color: #77d000;
}

/* Item activo dentro de dropdown */
.dropdown-item.active,
.dropdown-item:active {
  background-color: #77d000 !important; /* tu verde */
  color: #fff !important;              /* texto blanco */
}

.btn-primary:focus {
    color: white;
    background-color: var(--custom-primary) !important;
    border-color: var(--custom-primary) !important;
    box-shadow: 0 0 0 .25rem rgba(122, 217, 13, 0.5);
}

.btn-outline-primary {
    color: var(--custom-secondary) !important;
    border-color: var(--custom-secondary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--custom-secondary) !important;
    color: #fff !important;
}

.team-item:hover img {
    top: -20px;
}

.text-primary {
    color: var(--custom-secondary) !important;
}

.border-primary {
    border-color: var(--custom-secondary-2) !important;
}

.bg-primary {
    background-color: var(--custom-secondary) !important;
    color: #fff;
}

.progress-bar {
    background-color: var(--custom-primary) !important;
}

.bg-secondary {
    background-color: #e1f3bc !important
}

.icon-ecopistas-green {
    filter: brightness(0) saturate(100%) invert(64%) sepia(89%) saturate(331%) hue-rotate(32deg) brightness(94%) contrast(87%);
}

.bg-blue-original {
    background-color: rgba(0, 40, 90, 1) !important;
}

.bg-gray {
    background-color: rgb(240, 240, 240) !important;
}

.bg-light-gray {
    background-color: rgb(247, 247, 247) !important;
}

.carousel-caption {
    background: linear-gradient(to bottom, rgba(0, 29, 35, 0.5), rgba(0, 29, 35, 0.1));
}

@media (max-width: 991.98px) {
    .navbar .nav-link {
        font-size: 15px;
        padding: 6px 10px;
    }
}

.corner-frame {
    position: relative;
    display: inline-block;
    line-height: 0;
    overflow: visible;
    margin: 0;
    /* <— importante si usas <figure> */
}

.corner-frame img {
    display: block;
}

.corner-frame::before,
.corner-frame::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
    width: var(--corner-len);
    height: var(--corner-len);
    border: var(--corner-thick) solid var(--corner-color);
    pointer-events: none;
}

/* sup‑der fuera */
.corner-frame::before {
    top: calc(-1 * (var(--corner-gap) + var(--corner-thick)));
    right: calc(-1 * (var(--corner-gap) + var(--corner-thick)));
    border-left: 0;
    border-bottom: 0;
}

/* inf‑izq fuera */
.corner-frame::after {
    bottom: calc(-1 * (var(--corner-gap) + var(--corner-thick)));
    left: calc(-1 * (var(--corner-gap) + var(--corner-thick)));
    border-right: 0;
    border-top: 0;
}

.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 1000;
    border-radius: 10px;
    background-color: rgb(29, 193, 35);
    border: 1px solid #1ebe57;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    border: 1px solid #1ebe57;
    color: white;
}

@media (max-width: 991.98px) {

    .whatsapp-float {
        right: 10px;
    }

    .back-to-top {
        right: 10px;
    }
}

h1,
h2 {
    color: rgb(0, 40, 90);
}

h4 {
    color: rgb(95, 164, 249);
}

h5 {
    color: rgb(95, 164, 249);
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    color: var(--custom-primary);
}

.testimonial-carousel .owl-item.center .testimonial-item img {
    background: var(--custom-primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--custom-secondary);
}

.navbar .navbar-nav .nav-link {
    font-weight: 300;
    font-variation-settings: 'wght' 300;
    transition: all 0.5s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    font-weight: 500;
    font-variation-settings: 'wght' 500;
}

.h-60 {
    height: 60px;
}

.div-service-title {
    min-height: 60px;
}

.div-service {
    min-height: 135px;
}

.height-hero-video {
    min-height: 420px !important;
    height: calc(100vh - 231px);
    max-height: 800px;
}

.bloque-video {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.video-content {
    border: 0;
    background: linear-gradient(to bottom, rgba(0, 29, 35, 0.6), rgba(0, 29, 35, 0.1));
}

.video-clipped {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-bottom-decoration {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: center;
    z-index: 4;
    background: transparent !important;
    pointer-events: none;
}

.video-bottom-decoration::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.image-clipped {
    width: 100%;
    height: calc(100% + 30px) !important;
    object-fit: cover;
    display: block;
}

.image-bottom-decoration {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: center;
    z-index: 4;
    background: transparent !important;
    pointer-events: none;
}

.image-bottom-decoration::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.left-trapezoid,
.right-trapezoid {
    width: 50%;
    height: calc(100% - 1px);
    background: white !important;
    z-index: 4;
}

.left-trapezoid {
    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 100%, 0% 100%);
}

.right-trapezoid {
    clip-path: polygon(0% 100%, 100% 100%, 100% 0, 25px 0);
}

.z-3 {
    position: relative;
    z-index: 3 !important;
}

.hero-title-shadow {
    font-size: 52px !important;
    line-height: 52px !important;
    font-weight: 300 !important;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.9),
        0 0 1px rgba(0, 0, 0, 0.8);
}

@media (max-width: 991.98px) {
    .hero-title-shadow {
        font-size: 40px !important;
        line-height: 40px !important;
    }
}

.bg-dark {
    background-color: rgb(0, 29, 35) !important;
}

.bg-secondary {
    background-color: var(--custom-secondary) !important;
}

.bg-secondary-2 {
    background-color: var(--custom-secondary-2) !important;
}

.color-secondary {
    color: var(--custom-secondary) !important;
}

.color-secondary-2 {
    color: var(--custom-secondary-2) !important;
}

.decorative-line.uneven {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 1.5rem auto;
}

.decorative-line.uneven::before,
.decorative-line.uneven::after {
    content: "";
    height: 5px;
    background-color: var(--custom-secondary-2);
    border-radius: 2px;
}

.decorative-line.uneven::before {
    width: 65px;
}

.decorative-line.uneven::after {
    width: 35px;
}

.icono-beneficio {
    width: 80px;
    height: auto;
}

.iconos-beneficios p {
    color: var(--custom-primary);
    font-size: 1rem;
    line-height: 1.4;
}

.text-center-custom {
    text-align: center !important;
}

@media (max-width: 991.98px) {
    .text-center-custom {
        text-align: left !important;
    }
}

.font-30 {
    font-size: 30px !important;
}

.font-26 {
    font-size: 26px !important;
}

.font-20 {
    font-size: 20px !important;
}

.font-16 {
    font-size: 16px !important;
}

.fw-500 {
    font-weight: 500 !important;
}

.datos-ecopistas {
    background-color: #0081da;
}

.icono-dato {
    width: 50px;
    height: auto;
}

.border-box {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.border-box:last-child {
    border-right: none;
}

.datos-ecopistas p {
    font-size: 1rem;
    line-height: 1.4;
}

.width-900 {
    max-width: 900px;
    margin: auto;
}

.pr-2 {
    padding-right: 0.5rem !important;
}

.pr-3 {
    padding-right: 1rem !important;
}

.pr-4 .ice-card {
    border-radius: 6px;
    overflow: hidden;
    background-color: #fff;
}

.ice-card .icon {
    width: 30px;
    height: auto;
}

.ice-card summary {
    cursor: pointer;
}

.ice-card details[open] .toggle-icon {
    transform: rotate(180deg);
}

.toggle-icon {
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.accesorios-section {
    background-color: #f9f9f9;
}

.accesorios-list li {
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.accesorios-list i {
    margin-right: 8px;
    font-size: 1.2rem;
    vertical-align: middle;
}

.accesorios-img {
    max-width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
}

.icono-beneficio {
    width: 56px;
    height: auto;
}

.servicio-item {
    min-width: 120px;
    max-width: 140px;
}

.tabla-hielo thead th {
    background-color: #0099e5 !important;
    color: white;
    font-size: 24px;
    font-weight: 400;
}

.tabla-hielo td,
.tabla-hielo th {
    vertical-align: middle;
}

.tabla-hielo td {
    text-align: left;
    padding: 8px 28px;
    font-size: 20px;
}

@media (max-width: 991.98px) {

    .tabla-hielo thead th {
        background-color: #0099e5 !important;
        color: white;
        font-size: 20px;
        font-weight: 400;
    }

    .tabla-hielo td {
        text-align: left;
        padding: 8px;
        font-size: 16px;
    }
}

input.form-control {
    border-radius: 0;
    border: 1px solid #ccc;
}

.animated.pulse {
    animation-duration: 2.5s;
}

.fw-200 {
    font-weight: 200 !important;
}

.ice-card .feature-row {
    padding-left: 6em;
}

@media (max-width: 991.98px) {

    .ice-card .feature-row {
        padding-left: 4em;
    }
}

.card-header {
    background-color: var(--custom-secondary) !important;
    color: white !important;
    font-weight: 400 !important;
    font-size: 30px !important;
}

@media (max-width: 991.98px) {

    .card-header {
        font-size: 24px !important;
    }
}

.logo-clients {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.logo-clients img {
    max-height: 80px;
    max-width: 150px;
    object-fit: contain;
}