:root {
    --primary: #134d31;
    --primary-light: #247033;
    --secondary: #404040;
    --accent: #bc3528;
    --accent-dark: #7d2216;
    --light: #f5f5f5;
    --gray: #d3d3d3;
    --white: #ffffff;
}

body {
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* NAV */
.navbar {
    background: rgba(19, 77, 49, 0.95);
}

.navbar a {
    color: white !important;
}

/* LOGO NAV */
.logo-nav {
    height: 45px;
    width: auto;

    padding: 6px 12px;
    border-radius: 10px;

    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(6px);

    border: 1px solid rgba(255,255,255,0.4);

    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.logo-nav:hover {
    transform: scale(1.05);
}


/* TOGGLER */
.custom-toggler {
    border: none;
    outline: none;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);

    width: 45px;
    height: 45px;

    border-radius: 10px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;

    transition: 0.3s ease;

    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* BARRITAS */
.custom-toggler span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;

    transition: 0.3s ease;
}

/* HOVER */
.custom-toggler:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.05);
}

/* ANIMACIÓN A "X" */
.custom-toggler.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.custom-toggler.active span:nth-child(2) {
    opacity: 0;
}

.custom-toggler.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.custom-toggler:focus,
.custom-toggler:active,
.custom-toggler:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* MOBILE */
@media (max-width: 768px) {
    .logo-nav {
        height: 32px;
    }
}

/* HERO NUEVO */
.hero-anmy {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(
        135deg,
        var(--primary) 60%,
        var(--primary-light) 100%
    );
    position: relative;
    overflow: hidden;
}

.hero-anmy .container {
    padding-top: 40px;
}

/* DETALLE DECORATIVO */
.hero-anmy::before {
    content: "";
    position: absolute;
    right: -100px;
    top: 0;
    width: 50%;
    height: 100%;
    background: white;
    opacity: 0.05;
    transform: skewX(-20deg);
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
}

.hero-subtitle {
    margin-top: 20px;
    font-size: 1.1rem;
}

.hero-description {
    font-size: 0.95rem;
    opacity: 0.9;
}

.hero-img {
    max-height: 400px;
    border-radius: 12px;
}

@media (min-width: 768px) and (max-width: 1024px) {

    .hero-anmy {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-anmy .row {
        text-align: center;
        flex-direction: column;
    }

    /* TEXTO */
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 600px;
        margin: 15px auto;
    }

    .hero-description {
        font-size: 0.9rem;
        max-width: 550px;
        margin: 0 auto;
    }

    /* IMAGEN */
    .hero-img {
        margin-top: 30px;
        max-height: 300px;
    }
}

/* SECTIONS */
section {
    padding: 80px 0;
}

.section-title {
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title-about span{
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin-top: 8px;
}

.bg-light-custom {
    background: var(--light);
}

/* CARDS */
.card {
    border: none;
    transition: 0.3s;
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
}

/* WHY */
.why-anmy {
    background: #f5f5f5;
    padding: 100px 0;
}

/* TÍTULO */
.why-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-title span {
    color: var(--accent);
}

/* ITEMS */
.why-item {
    position: relative;
    margin-bottom: 45px;
    padding-left: 25px;
}

/* HEADER */
.why-header-shape {
    display: inline-block;
    padding: 10px 28px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;

    border-radius: 0;

    clip-path: polygon(
        14px 0%, 
        100% 0%, 
        calc(100% - 14px) 100%, 
        0% 100%
    );

    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* COLORES */
.why-header-shape.red {
    background: var(--accent);
}

.why-header-shape.dark {
    background: var(--secondary);
}

/* HOVER */
.why-header-shape:hover {
    transform: translateY(-3px);
}

/* ICONO FLOTANTE */
.check-icon-1, .check-icon-2, .check-icon-3, .check-icon-4 {
    position: absolute;
    top: -15px;
    left: 18px;
    width: 30px;
    height: 30px;
    background: var(--primary-light);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    z-index: 10;
}

/* ICONO */
.check-icon-1 i, .check-icon-2 i, .check-icon-3 i, .check-icon-4 i{
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* TEXTO */
.why-item p {
    margin-top: 14px;
    font-size: 0.92rem;
    color: #555;
    line-height: 1.6;

    max-width: 420px;
}

/*  ALINEACIÓN COLUMNAS */
@media (min-width: 768px) {

    .why-anmy .col-md-6:first-child {
        padding-right: 40px;
    }

    .why-anmy .col-md-6:last-child {
        padding-left: 40px;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .why-item {
        padding-left: 0;
        text-align: center;
    }

    .why-header-shape {
        display: inline-block;
        margin: 0 auto;
    }

    .why-item p {
        text-align: center;
        max-width: 100%;
    }

    /* ICONO AJUSTADO */
    .check-icon-1 {
        left: 47%;
        top: -14px;
        transform: translateX(-120px);
    }

    .check-icon-2 {
        left: 49%;
        top: -14px;
        transform: translateX(-120px);
    }

    .check-icon-3 {
        left: 47%;
        top: -14px;
        transform: translateX(-120px);
    }

    .check-icon-4 {
        left: 52%;
        top: -14px;
        transform: translateX(-120px);
    }
}

/* CLIENTES */
.client-logo {
    filter: grayscale(100%);
    transition: 0.3s;
}

.client-logo:hover {
    filter: grayscale(0%);
}

/* BOTÓN */
.btn-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
}

/* BURBUJAS */
.bubble-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.bubble {
    width: 110px;
    height: 110px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.4s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateX(-50px);
}

.bubble i {
    font-size: 28px;
    color: var(--primary);
}

.bubble span {
    font-size: 12px;
    margin-top: 5px;
}

.bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.bubble.active {
    background: var(--primary);
    color: white;
}

.bubble.active i {
    color: white;
}

/* ANIMACIÓN */
.bubble.show {
    opacity: 1;
    transform: translateX(0);
}

/* CONTENIDO */
.product-content .content {
    display: none;
}

.product-content .content.active {
    display: block;
}

@media (max-width: 768px) {

    /* BURBUJAS MÁS PEQUEÑAS */
    .bubble {
        width: 80px;
        height: 80px;
    }

    .bubble i {
        font-size: 20px;
    }

    .bubble span {
        font-size: 10px;
    }

    /* H4 MÁS LEGIBLES EN MOBILE */
    .product-content h4 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-top: 15px;
    }

    /* OPCIONAL: FORZAR SALTO MÁS CONTROLADO */
    .product-content h4 br {
        display: block;
    }

}

/* SECCIÓN CLIENTES */
.clients-section {
    padding: 80px 0;
    background: white;
}

.client-img {
    max-height: 350px;
    object-fit: cover;
}

/* LISTA */
.client-points {
    list-style: none;
    padding: 0;
}

.client-points li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.client-points li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* CINTILLO */
.logo-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* TRACK */
.logo-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: scrollContinuous 40s linear infinite;
}

/* LOGOS */
.logo-track img {
    height: 60px;
    min-width: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.logo-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* ANIMACIÓN REAL CONTINUA */
@keyframes scrollContinuous {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* TABLET */
@media (max-width: 992px) {
    .logo-track {
        gap: 40px;
        animation-duration: 18s;
    }

    .logo-track img {
        height: 50px;
    }
}

/* MOBILE */
@media (max-width: 576px) {
    .logo-track {
        gap: 30px;
        animation-duration: 15s;
    }

    .logo-track img {
        height: 40px;
        min-width: 90px;
    }
}

@media (max-width: 768px) {
    .logo-track {
        animation-duration: 25s;
    }
}

.logo-slider::before,
.logo-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
}

.logo-slider::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.logo-slider::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

/* SECCIÓN CONÓCENOS */
.about-ultra {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
}



/* TITULOS */
.about-title {
    font-size: 2.6rem;
    font-weight: 700;
}

.about-subtitle {
    max-width: 650px;
    margin: 10px auto 0;
    color: #666;
    font-weight: 500;
}

/*  CARD ULTRA */
.about-card-ultra {
    position: relative;
    display: flex;
    gap: 25px;
    align-items: flex-start;

    padding: 35px;
    border-radius: 18px;

    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(10px);

    border: 1px solid rgba(0,0,0,0.05);

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);

    transition: 0.4s ease;
}

/* HOVER */
.about-card-ultra:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 25px 60px rgba(0,0,0,0.15),
        0 0 30px rgba(165,42,42,0.15);
        border-color: var(--accent);
}

/* ICONO */
.icon-wrapper {
    position: relative;
    min-width: 65px;
    height: 65px;
    border-radius: 18px;

    background: linear-gradient(185deg, var(--primary-light), #5a5a5a);

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ICONO */
.icon-wrapper i {
    color: white;
    font-size: 26px;
    z-index: 2;
}

/* GLOW INTERNO */
.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    background: radial-gradient(circle, rgba(255,255,255,0.4), transparent 70%);
    z-index: 1;
}

/* CONTENIDO */
.content h4 {
    margin-bottom: 5px;
    font-weight: 700;
}

/* LINEA DE ACENTO */
.accent-line {
    width: 40px;
    height: 3px;
    background: var(--accent);
    margin: 8px 0 12px;
    border-radius: 3px;
}

/* TEXTO */
.content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .about-card-ultra {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .accent-line {
        margin: 10px auto;
    }
}

/* FOOTER */
.footer-anmy {
    background: var(--secondary);
    color: #ccc;
    padding: 60px 0 30px;
    position: relative;
}

/* LINEA SUPERIOR */
.footer-anmy::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
}

/* TITULOS */
.footer-anmy h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-anmy h6 {
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
}

/* TEXTO */
.footer-anmy p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.6;
    font-weight: 500;
}

/* ICONOS */
.footer-anmy i {
    margin-right: 10px;
    color:  #db3c2d;
}

/* DIVISOR */
.footer-divider {
    margin: 30px 0 15px;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

/* COPYRIGHT */
.footer-copy {
    text-align: center;
    font-size: 0.85rem;
    color: #b3b3b3;
    font-weight: 700;
}

/* HOVER SUTIL */
.footer-contact p:hover {
    color: #fff;
    transition: 0.3s;
}

.email-float {
    position: fixed;
    bottom: 85px; 
    right: 25px;

    width: 50px;
    height: 50px;

    background: var(--accent);
    color: white;

    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 20px;

    box-shadow: 0 4px 10px rgba(0,0,0,0.3);

    z-index: 999;
    transition: 0.3s;
}

.email-float:hover {
    background: var(--light);
    transform: scale(1.1);
}

.btn-top:hover,
.email-float:hover,
.whatsapp-float:hover {
    background: var(--light);
    color: var(--accent);
    transform: scale(1.1) translateY(-3px);
}

a {
    color: var(--primary);
}

a:hover {
    color: #ff1500;
}

.whatsapp-float {
    position: fixed;
    bottom: 145px;
    right: 25px;

    width: 50px;
    height: 50px;

     background: var(--accent);
    color: white;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;

    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
}

.email-float,
.whatsapp-float {
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .footer-info,
    .footer-contact {
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-anmy p {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {

    .btn-top,
    .email-float,
    .whatsapp-float {
        width: 42px;
        height: 42px;
        font-size: 16px;

        right: 15px;
    }

    .btn-top {
        bottom: 20px;
    }

    .email-float {
        bottom: 70px;
    }

    .whatsapp-float {
        bottom: 120px;
    }

    .btn-top,
    .email-float,
    .whatsapp-float {
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }
}