/* variables css */
:root {
    --color-primary: #039683;
    --color-primary-rgb: 3, 150, 131;
    --color-secondary: #027d6e;
    --color-tertiary: #04bfa0;
    --color-accent: #ff7043;
    --color-highlight: #ffc107;
    --color-bg-light: #f5f7f6;
    --color-bg-dark: #263238;
    --color-text: #212121;
    --color-text-light: #fafafa;
    --color-info: #0288d1;
    --color-success: #4caf50;
    --color-warning: #ffb300;
    --color-danger: #e53935;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* Estilos generales */
body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    padding-top: 100px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: #111;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
}

/* Logo */
.logo img {
    width: 165px;
    height: 50px;
}

/* Menú */
.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--color-text-light);
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--color-primary);
}

.nav-links li a.active {
    color: var(--color-primary);
}

.color-green {
    color: var(--color-primary);
}

.uppercase {
    text-transform: uppercase;
}

/* Botón de cotización */
.btn-cotiza {
    background-color: var(--color-primary);
    padding: 10px 20px;
    border-radius: 25px;
    color: #111;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
    animation: pulse 1.5s infinite ease-in-out;
    display: inline-block;
}

/* Animación del pulso */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(var(--color-primary-rgb), 0.7);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 0 15px 5px rgba(var(--color-primary-rgb), 0.3);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(var(--color-primary-rgb), 0.7);
    }
}

.nav-links li a.btn-cotiza {
    color: #000;
}

.btn-cotiza:hover {
    background-color: var(--color-primary);
}

/* Menú hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animación del ícono hamburguesa → X */
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive */
@media screen and (max-width: 1020px) {
    .nav-links {
        position: fixed;
        top: 100px;
        right: -100%;
        background-color: #111;
        flex-direction: column;
        width: 250px;
        height: 100vh;
        padding-top: 40px;
        gap: 30px;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }
}

/* === HERO SECTION === */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0b0b0b 80%);
    display: flex;
    align-items: center;
    padding: 0px 40px 80px;
    color: #fff;
    overflow: hidden;
}

/* Ondas concéntricas animadas mejoradas */
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* Onda principal */
.hero::before {
    width: 500px;
    height: 500px;
    background: rgba(130, 130, 130, 0.05);
    animation: ripple 6s infinite ease-in-out;
    box-shadow: 0 0 0 200px rgba(154, 154, 154, 0.04),
        0 0 0 400px rgba(149, 149, 149, 0.03),
        0 0 0 600px rgba(135, 135, 135, 0.02);
}

/* Onda secundaria */
.hero::after {
    width: 900px;
    height: 900px;
    background: rgba(37, 37, 37, 0.03);
    animation: ripple 10s infinite ease-in-out;
    box-shadow: 0 0 0 200px rgba(35, 35, 35, 0.025),
        0 0 0 400px rgba(44, 44, 44, 0.02), 0 0 0 600px rgba(55, 55, 55, 0.015);
}

/* Animación ripple más suave y expansiva */
@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0.85);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.35;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.85);
        opacity: 0.7;
    }
}

/* Contenido */
.hero-content {
    text-align: left;
    animation: fadeIn 1.2s ease-in-out;
    position: relative;
    z-index: 1;
}

/* Animación de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Título principal */
.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    text-align: center;
}

.hero .highlight {
    color: var(--color-primary);
}

/* Descripción */
.hero p {
    text-align: center;
    font-size: 1.3rem;
    color: #ccc;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Botones */
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Botón Play con pulso */
.btn-play {
    background-color: var(--color-primary);
    color: #000;
    font-size: 1.7rem;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(var(--color-primary-rgb), 0.6);
    animation: pulsePlay 1.5s infinite ease-in-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-play:hover {
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(var(--color-primary-rgb), 0.9);
}

@keyframes pulsePlay {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(var(--color-primary-rgb), 0.7);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 25px 10px rgba(var(--color-primary-rgb), 0.25);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(var(--color-primary-rgb), 0.7);
    }
}

/* Botón Cotiza con gradiente animado */
.btn {
    min-height: 50px;
    background: var(--color-primary);
    background-size: 300% 300%;
    color: #111;
    padding: 18px 35px;
    border-radius: 40px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 0 15px rgba(var(--color-primary-rgb), 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: gradientFlow 4s infinite ease;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn:hover {
    transform: scale(1.07);
    background: var(--color-tertiary);
    box-shadow: 0 0 30px rgba(var(--color-primary-rgb), 0.8);
    position: relative;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.15rem;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        padding: 100px 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

.banner {
    background-color: var(--color-primary);
    padding: 15px 0;
    text-align: center;
    font-weight: bold;
    overflow: hidden;
}

.banner-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    animation: scroll 50s linear infinite;
    white-space: nowrap;
    width: max-content;
}

/* El espacio va dentro de cada grupo (padding) para que las mitades midan exactamente igual */
.banner-grupo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 10px;
}

.banner-content span {
    color: #111;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* === SECCIÓN DE AUTOMATIZACIÓN === */
.why {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 120px 5%;
    color: #fff;
    position: relative;
    gap: 80px;
}

/* Ondas animadas en la línea */
.why::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: repeating-radial-gradient(
        circle at center,
        rgba(158, 252, 67, 0.15) 0,
        rgba(158, 252, 67, 0.15) 2px,
        transparent 3px,
        transparent 30px
    );
    animation: waves 5s linear infinite;
    opacity: 0.08;
}

@keyframes waves {
    /* hacer el efecto de que se va haciendo mas pequeño y luego regresa a la normalidad */
    0% {
        transform: translate(-50%, 0) scale(1);
    }

    50% {
        transform: translate(-50%, 0) scale(0.8);
    }

    100% {
        transform: translate(-50%, 0) scale(1);
    }
}

/* Línea divisoria central */
.why::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    z-index: 1;
}

/* Columna izquierda */
.why-left {
    flex: 1;
    max-width: 50%;
    position: sticky;
    top: 120px;
    align-self: flex-start;
    padding-right: 40px;
    z-index: 2;
}

.why-left h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-weight: bold;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.text-green {
    color: var(--color-primary);
    font-weight: bold;
}

.header-title {
    font-size: 2.3rem;
    line-height: 1.3;
    margin-bottom: 25px;
}

.why-left .video {
    width: 100%;
    max-height: 260px;
    border-radius: 12px;
    margin-bottom: 25px;
}

/* Columna derecha */
.why-right {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding-left: 40px;
    position: relative;
    z-index: 2;
}

/* Cada card */
.why-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.why-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Icono */
.why-icon {
    min-width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(var(--color-primary-rgb), 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 3;
}

.why-item:hover .why-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(var(--color-primary-rgb), 0.8);
}

/* Círculos alineados al centro */
.why-item::before {
    content: "";
    position: absolute;
    left: -80px;
    top: 20px;
    width: 10px;
    height: 10px;
    background-color: var(--color-primary);
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(158, 252, 67, 0.6);
    transform: translateX(-50%);
    z-index: 3;
}

/* Contenido */
.why-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #fff;
}

.why-content p {
    font-size: 1rem;
    color: #aaa;
    line-height: 1.6;
}

/* Responsivo */
@media screen and (max-width: 992px) {
    .why {
        flex-direction: column;
        gap: 200px;
        padding: 0px 5%;
    }

    .why::before {
        display: none;
    }

    .why-left,
    .why-right {
        max-width: 100%;
        padding: 0;
    }

    .why-left {
        text-align: center;
        position: relative;
    }

    .why-item {
        flex-direction: column;
        align-items: center;
        text-align: justify;
    }

    .why-item::before {
        display: none;
    }
}

/* ===== TESTIMONIOS ===== */
.testimonios {
    position: relative;
    padding: 120px 3%;
    overflow: hidden;
    z-index: 1;
}

/* === HEADER === */
.testimonios__header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 20px;
    align-items: center;
}

.testimonios__header-left {
    grid-column: 1 / 4;
    padding-right: 100px;
}

.testimonios__header-left h4 {
    letter-spacing: 3px;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.testimonios__title {
    font-size: 3rem;
    font-weight: 700;
}

.testimonios__header-right {
    grid-column: 4/6;
    padding: 0 20px;
}

.testimonios__header-right p {
    margin: 0;
    font-size: 18px;
    font-weight: lighter;
    text-align: center;
    color: #fff;
}

/* === LISTA === */
.testimonios__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

/* === ITEM === */
.testimonio {
    background: rgba(17, 17, 17, 0.9);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateY(50px);
}

/* Hover 3D */
.testimonio:hover {
    cursor: pointer;
    transform: scale(1.05) !important;
}

/* === VIDEO === */
.testimonio__video {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.testimonio__video .video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* === TEXTO === */
.testimonio__title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.testimonio__description {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.5;
    text-align: justify;
}

.testimonio__empresa {
    color: var(--color-primary);
    font-weight: 600;
}

/* === RESPONSIVO === */
@media (max-width: 992px) {
    .testimonios__header {
        display: block;
        text-align: center;
    }

    .testimonios__header-left {
        padding: 0;
        margin-bottom: 20px;
    }

    .testimonios__header-right {
        padding: 0;
    }
}

/* ===== SECCIÓN CLIENTES ===== */
.clientes {
    padding: 100px 15px 50px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.clientes .header-title {
    text-align: center;
    width: 70%;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #fff;
    font-family: "Plus Jakarta Sans", sans-serif;
}

/* === CONTENEDOR DEL CARRUSEL === */
.clientes__carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* === TRACK GENERAL === */
.clientes__track {
    display: flex;
    gap: 30px;
    width: max-content;
}

/* === CADA FILA === */
.clientes__row {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
}

/* === ANIMACIONES INFINITAS === */
.clientes__track--left {
    animation: scroll-left 25s linear infinite;
}

.clientes__track--right {
    animation: scroll-right 25s linear infinite;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

/* === IMÁGENES === */
.clientes__item img {
    width: 222px;
    height: 100px;
    object-fit: contain;
    filter: grayscale(40%) brightness(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.clientes__item img:hover {
    filter: grayscale(0%) brightness(100%);
    opacity: 1;
    transform: scale(1.05);
}

/* === RESPONSIVO === */
@media (max-width: 768px) {
    .clientes .header-title {
        width: 100%;
        font-size: 2rem;
    }

    /* Ocultamos segunda fila en móviles */
    .clientes__track--right {
        display: none;
    }

    /* Ajustamos tamaño imágenes */
    .clientes__item img {
        width: 180px;
        height: 80px;
    }

    /* Reducimos espacio entre logos */
    .clientes__track {
        gap: 20px;
    }

    /* Aceleramos animación en móviles */
    .clientes__track--left {
        animation-duration: 15s;
    }
}

.cta-section {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* === TARJETA === */
.card {
    width: 85%;
    /* Ocupa el 85% del ancho */
    margin: 50px auto 70px;
    padding: 80px 80px 40px 80px;
    text-align: center;
    background: #0b0b0b;
    /* Fondo negro */
    border-radius: 28px;
    position: relative;
    border: 5px solid transparent;
    background-clip: padding-box;
    z-index: 1;

    /* Aplicamos el degradado para desvanecer solo la tarjeta negra */
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 1) 90%,
        rgba(255, 255, 255, 0) 100%
    );
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 1) 95%,
        rgba(255, 255, 255, 0) 100%
    );
    mask-repeat: no-repeat;
    mask-size: cover;
    border-top: solid var(--color-primary) 18px !important;
    border-left: solid var(--color-primary) 18px !important;
    border-right: solid var(--color-primary) 18px !important;
}

/* === TÍTULO === */
.card .header-title {
    color: #fff;
    font-size: 2rem;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 30px;
    font-family: "Plus Jakarta Sans", sans-serif;
}

/* === BOTÓN === */
.btn.btn-animation {
    background-color: var(--color-primary);
    color: #000;
    font-weight: 600;
    padding: 15px 25px;
    font-size: 1rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(var(--color-primary-rgb), 0.4);
    text-decoration: none;
}

.btn.btn-animation:hover {
    background-color: var(--color-primary);
    box-shadow: 0 0 25px rgba(var(--color-primary-rgb), 0.6);
    transform: scale(1.05);
}

.btn.btn-animation .arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn.btn-animation:hover .arrow {
    transform: translate(4px, -4px);
}

/* Flecha diagonal que se endereza al pasar el mouse */
.btn.btn-animation .arrow i {
    display: inline-block;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

.btn.btn-animation:hover .arrow i {
    transform: rotate(0);
}

/* === TEXTO VERDE === */
.text-green {
    color: var(--color-primary);
    font-weight: 700;
}

/* === FOOTER DE LA TARJETA === */
.card-footer {
    margin-top: 30px;
    font-size: 1rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-footer h5 {
    font-size: 1rem;
    font-weight: 500;
    color: #ccc;
}

.card-footer h5 span {
    font-weight: 800;
    color: #fff;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .card {
        width: 95%;
        padding: 40px 20px;
        margin: 60px auto 40px;
        border-radius: 22px;
    }

    .card .header-title {
        font-size: 1.5rem;
    }

    .btn.btn-animation {
        width: 100%;
        padding: 15px;
        font-size: 1rem;
    }
}

.mx-5 {
    margin: 50px 0;
}

/* Sección de portafolio */
.portafolio-section {
    padding: 80px;
    color: #fff;
}

/* Filtros */
.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: #1a1a1a;
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-primary);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.4);
}

/* Grid de portafolio */
#portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.btn-portafolio {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

/* Tarjetas del portafolio */
.portfolio-card {
    position: relative;
    text-align: center;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.portfolio-card .relative {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: #111;
}

/* Imagen */
.portfolio-card img {
    width: 100%;
    height: auto;
    max-height: 325px;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.container {
    margin-top: 50px;
}

/* Zoom al hacer hover */
.portfolio-card:hover img {
    transform: scale(1.1);
}

/* Overlay oscuro */
.portfolio-card .overlay {
    position: absolute;
    inset: 0;
    /* background: rgba(0, 0, 0, 0.55); */
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mostrar overlay en hover */
.portfolio-card:hover .overlay {
    opacity: 1;
}

/* Botón circular con flecha */
.portfolio-card .arrow-btn {
    width: 100px;
    height: 100px;
    background-color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transform: scale(0);
    transition: all 0.3s ease;
}

/* Mostrar flecha con efecto “pop” */
.portfolio-card:hover .arrow-btn {
    transform: scale(1) rotate(-45deg);
}

/* Icono de flecha */
.portfolio-card .arrow-btn i {
    color: #fff;
    font-size: 26px;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover en la flecha */
.portfolio-card .arrow-btn:hover {
    background-color: var(--color-primary);
    transform: scale(1.1) rotate(0deg);
}

.portfolio-card .arrow-btn:hover i {
    color: #000;
}

/* Etiquetas (tags) */
.portfolio-card .tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-primary);
    color: #000;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Título de proyectos */
.project-title {
    margin-top: 12px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

/* Botón Ver Más */
.btn-ver-mas {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--color-primary);
    color: #000;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 20px;
    margin-top: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-ver-mas:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.4);
}

/* Mensaje sin resultados */
#no-results {
    display: none;
    margin-top: 30px;
    font-size: 18px;
    font-weight: bold;
    color: #ccc;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    #portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        margin: auto 40px;
    }

    .portafolio-section {
        padding: 50px 0;
    }
}

@media (max-width: 600px) {
    #portfolio-grid {
        grid-template-columns: 1fr;
    }

    .project-title {
        font-size: 14px;
    }
}

/* --- Sección de planes --- */
.planes {
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.planes-container {
    max-width: 100%;
    margin: 80px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    align-items: stretch;
    /* 🔹 Hace que todas tengan la misma altura */
    gap: 30px;
    padding: 0 15px;
}

/* --- Tarjeta de plan --- */
.plan-card {
    background: linear-gradient(135deg, #101010 0%, #1a1a1a 100%);
    border: 1px solid rgba(var(--color-primary-rgb), 0.4);
    border-radius: 22px;
    padding: 35px 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    /* 🔹 Ocupa el ancho completo del grid */
}

.plan-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(var(--color-primary-rgb), 0.35);
}

/* --- Plan destacado --- */
.plan-card.featured {
    border: 2px solid var(--color-primary);
    background: linear-gradient(135deg, #141414 0%, #222222 100%);
    transform: scale(1.05);
}

/* --- Encabezado --- */
.plan-header h3 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--color-primary);
    font-weight: 800;
}

.plan-header p {
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* --- Precio --- */
.plan-price {
    font-size: 2.3rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}

.plan-card hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

/* --- Público objetivo --- */
.plan-target {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #bbb;
    font-style: italic;
}

/* --- Lista de características --- */
.plan-features {
    text-align: left;
    margin-bottom: 25px;
    padding-left: 0;
}

.plan-features li {
    list-style: none;
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    font-size: 1rem;
    color: #ddd;
    line-height: 1.5;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.plan-features li.no-incluye::before {
    content: "✕";
    color: #ff4d4d;
    font-weight: bold;
}

/* --- Botón --- */
.plan-btn {
    display: inline-block;
    background: var(--color-primary);
    color: #000;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: auto;
}

.plan-btn:hover {
    transform: scale(1.07);
    box-shadow: 0 8px 25px rgba(var(--color-primary-rgb), 0.5);
}

/* --- Nota de software a medida --- */
.custom-software-note {
    margin-top: 60px;
    font-size: 1.1rem;
    color: #ccc;
}

.custom-software-note span {
    color: var(--color-primary);
    font-weight: bold;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .planes-container {
        grid-template-columns: 1fr;
        gap: 80px;
    }
}

/* --- Sección Respaldo --- */
.respaldo {
    padding-top: 80px;
    color: #fff;
    text-align: center;
}

/* Contenedor principal en dos columnas */
.respaldo-container {
    max-width: 100%;
    margin: 80px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 0 20px;
}

/* Columna izquierda - Cards */
.respaldo-cards {
    display: flex;
    flex-direction: column;
    gap: 35px; /* Más separación entre las tarjetas */
}

.respaldo-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: linear-gradient(135deg, #101010 0%, #1a1a1a 100%);
    border: 1px solid rgba(var(--color-primary-rgb), 0.4);
    padding: 25px 20px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}
.respaldo-card i {
    margin: auto;
}

.respaldo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(var(--color-primary-rgb), 0.3);
}

/* Íconos */
.respaldo-icon {
    font-size: 2rem;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 5px;
}

/* Contenido del texto */
.respaldo-content h4 {
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.respaldo-content p {
    font-size: 1rem;
    color: #ddd;
    line-height: 1.5;
}

/* Columna derecha - Imagen */
.respaldo-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

/* Responsive */
@media (max-width: 992px) {
    .respaldo {
        padding: 40px 20px;
    }
    .respaldo-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .respaldo-cards {
        align-items: center;
    }

    .respaldo-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .respaldo-icon {
        margin-bottom: 10px;
    }

    .respaldo-image {
        margin-top: 30px;
    }
}
/* --- Sección Pasos --- */
.pasos {
    padding: 100px 50px;
    color: #fff;
    position: relative;
}

/* Contenedor */
.pasos-container {
    max-width: 100%;
    margin: 70px auto 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 20px;
}

/* Card */
.pasos-card {
    position: relative;
    background: rgba(18, 18, 18, 0.75);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 35px 25px;
    text-align: left;
    border: 1.5px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pasos-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1.5px;
    background: var(--color-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.pasos-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 45px rgba(188, 243, 70, 0.25);
}

/* Número del paso */
.pasos-numero {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    /* background: rgba(188, 243, 70, 0.15); */
    /* border: 1px solid rgba(188, 243, 70, 0.5); */
    padding: 6px 14px;
    border-radius: 12px;
    display: inline-block;
    width: fit-content;
    letter-spacing: 1px;
}

/* Íconos */
.pasos-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-top: 5px;
    margin-bottom: 8px;
    text-shadow: 0 0 15px rgba(188, 243, 70, 0.4);
}

/* Títulos */
.pasos-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

/* Texto */
.pasos-card p {
    font-size: 1rem;
    color: #cfcfcf;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .pasos-container {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .pasos-container {
        grid-template-columns: 1fr;
    }
}

/* --- Sección Diseño Personalizado --- */
.diseno {
    padding: 80px 30px;
    color: #fff;
    position: relative;
}

/* Contenedor principal */
.diseno-container {
    max-width: 100%;
    margin: 60px auto 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Contenedor de videos */
.diseno-videos {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Tarjeta de video */
.diseno-card {
    background: rgba(18, 18, 18, 0.75);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.diseno-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(var(--color-primary-rgb), 0.25);
}

/* Videos responsivos */
lite-youtube {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

/* Título del video */
.diseno-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

/* Datos del proyecto */
.diseno-card p {
    font-size: 0.95rem;
    color: #cfcfcf;
    margin: 2px 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1200px) {
    .diseno-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* --- Sección Reseñas --- */
.reseñas {
    padding: 80px 30px;
    color: #fff;
    position: relative;
}

/* Contenedor principal */
.reseñas__body {
    max-width: 100%;
    margin: 60px auto 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

/* Tarjeta de calificación */
.reseñas__score {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 50px 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.reseñas__score h2 {
    font-size: 6rem;
    font-weight: lighter;
    margin-bottom: 10px;
}

.reseñas__score .stars {
    color: var(--color-primary);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 5px;
    margin-bottom: 15px;
}

.reseñas__score p {
    font-size: 1rem;
    font-weight: bolder;
    color: #cfcfcf;
}

/* Swiper */
.swiper {
    width: 100%;
    padding-bottom: 40px;
}

.swiper-slide {
    padding: 20px 60px;
    text-align: center;
}

/* Header testimonial */
.testimonial-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.testimonial-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary);
}

.testimonial-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.testimonial-header span {
    display: block;
    font-size: 0.85rem;
    color: #aaa;
}

/* Estrellas */
.testimonial-stars {
    color: var(--color-primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Texto del testimonio */
.testimonial-text {
    font-size: 0.95rem;
    color: #cfcfcf;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Botón Trustindex */
.trust-badge {
    display: inline-block;
    background: #157351;
    padding: 8px;
    font-size: 12px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 992px) {
    .reseñas__body {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .reseñas__score {
        max-width: 320px;
        margin: 0 auto;
    }
}

/* --- Sección FAQs --- */
.faqs {
    padding: 80px 30px;
    color: #fff;
    position: relative;
}

.faqs__body {
    width: 100%;
    margin: 60px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* --- Ítem FAQ --- */
.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    transition: background 0.25s ease, border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(var(--color-primary-rgb), 0.25);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* --- Header (botón accesible) --- */
.faq-header {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    text-align: left;
}

.faq-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
}

/* Flecha */
.faq-arrow {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.25s ease, transform 0.3s ease;
}

.faq-item.active {
    border: 1px solid var(--color-primary);
}

.faq-item.active .faq-arrow {
    background: var(--color-primary);
    transform: rotate(180deg);
}

.faq-arrow i {
    font-size: 14px;
    color: #fff;
    transition: color 0.25s ease;
}

.faq-item.active .faq-arrow i {
    color: #000;
}

/* --- Contenido colapsable --- */
.faq-content {
    padding: 0 22px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}

.faq-item.active .faq-content {
    opacity: 1;
}

.faq-inner {
    padding: 0 0 18px 0;
    /* padding real cuando se abre */
}

.faq-content p,
.faq-content ul {
    font-size: 1rem;
    color: #cfcfcf;
    line-height: 1.75;
    margin: 10px 0;
}

.faq-content ul {
    list-style: disc;
    padding-left: 22px;
}

/* Responsive */
@media (max-width: 768px) {
    .faqs__body {
        padding: 0 8px;
    }

    .faq-title {
        font-size: 1rem;
    }
}

/* --- Sección Redes --- */
.redes {
    padding: 80px 30px;
    color: #fff;
    position: relative;
    width: 100%;
}

.redes__body {
    margin: 80px auto 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-items: center;
    width: 100%;
    max-width: 1100px;
}

/* --- Tarjetas Redes --- */
.redes-card {
    position: relative;
    padding: 30px 40px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    overflow: visible;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 150px;
    width: 100%;
    max-width: 360px;
}

/* Icono de red */
.redes-card .icon {
    position: absolute;
    top: -15px;
    left: 0;
    width: 60px;
    height: 60px;
    background-color: #222;
    border-radius: 50%;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    z-index: 2;
    transition: transform 0.3s ease-in-out;
}

.redes-card:hover .icon {
    transform: translateY(-6px) scale(1.1);
}

.redes-card .icon i {
    font-size: 28px;
    color: #fff;
}

/* Contenido de texto */
.redes-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 25px;
    margin-right: 15px;
    flex: 1;
}

.redes-card h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.redes-card p {
    font-size: 1rem;
    color: #cfcfcf;
}

/* Flecha */
.redes-card .arrow {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    flex-shrink: 0;
}

.redes-card .arrow svg {
    width: 22px;
    height: 22px;
    transform: rotate(-45deg);
    transition: transform 0.3s ease-in-out;
}

/* Hover tarjeta */
.redes-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.redes-card:hover .arrow svg {
    transform: rotate(0deg);
}

/* Colores específicos */
.youtube .icon {
    background-color: #ff0000;
}

.instagram .icon {
    background: linear-gradient(45deg, #ff7e5f, #fd267d, #f9ce34);
}

.whatsapp .icon {
    background-color: #25d366;
}

/* --- Responsive --- */

/* Tablets grandes */
@media (max-width: 1024px) {
    .redes {
        padding: 60px 20px;
    }

    .redes__body {
        gap: 30px;
    }

    .redes-card {
        padding: 25px 30px;
        height: 140px;
    }

    .redes-card h3 {
        font-size: 1.2rem;
    }

    .redes-card p {
        font-size: 0.95rem;
    }
}

/* Móviles */
@media (max-width: 768px) {
    .redes__body {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .redes-card {
        max-width: 100%;
        width: 100%;
        height: auto;
        padding: 20px 25px;
        flex-direction: row;
        border-radius: 80px;
    }

    .redes-card-content {
        margin-left: 70px;
        margin-right: 10px;
    }

    .redes-card h3 {
        font-size: 1.1rem;
    }

    .redes-card p {
        font-size: 0.9rem;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .redes-card {
        padding: 18px 20px;
        height: auto;
        border-radius: 70px;
    }

    .redes-card-content {
        margin-left: 65px;
    }

    .redes-card h3 {
        font-size: 1rem;
    }

    .redes-card p {
        font-size: 0.85rem;
    }

    .redes-card .arrow {
        width: 38px;
        height: 38px;
    }

    .redes-card .arrow svg {
        width: 18px;
        height: 18px;
    }
}
/* --- Footer --- */
footer {
    color: #fff;
    padding: 40px 20px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Texto principal */
footer p {
    margin: 0;
    font-size: 15px;
    color: #bbb;
}

footer .footer-copy {
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    margin-bottom: 5px;
}

/* Redes sociales */
.footer-social {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid var(--color-primary);
    /* Verde principal */
    color: var(--color-primary);
    font-size: 22px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

/* Hover redes */
.footer-social a:hover {
    color: #fff;
    border: 2px solid #fff;
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    footer {
        padding: 30px 15px;
    }

    footer p {
        font-size: 14px;
    }

    .footer-social {
        gap: 18px;
    }

    .footer-social a {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .footer-copy {
        font-size: 14px;
    }

    footer p {
        font-size: 13px;
    }
}

/* Whatsapp */

/* --- Botón flotante --- */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 999999;
    transition: all 0.3s ease-in-out;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #20ba57;
}

.whatsapp-btn i {
    font-size: 28px;
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 100px;
    bottom: 40px;
    background: #fff;
    color: #fff;
    padding: 6px 12px;
    border-radius: 25px;
    font-size: 13px;
    color: #000;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover + .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* --- Ventana de chat --- */
.whatsapp-chat {
    position: fixed;
    bottom: 20px;
    right: 25px;
    width: 400px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: none;
    flex-direction: column;
    z-index: 999;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Encabezado */
.chat-header {
    display: flex;
    align-items: center;
    height: 70px;
    gap: 10px;
    padding: 12px 15px;
    background-color: #000;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header i {
    font-size: 20px;
}

.chat-close {
    cursor: pointer;
    transition: color 0.3s ease;
}

/* Mensaje */
.chat-body {
    padding: 15px 15px 0 15px;
    font-size: 14px;
    color: #444;
}

.chat-message {
    position: relative;
    min-width: 60px;
    max-width: calc(100% - 52px);
    min-height: 56px;
    padding: 15px 20px;
    margin: 0 0px 16px;
    border-radius: 26px;
    background: #fff;
    color: #4a4a4a;
    word-break: break-word;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    transform-origin: 0 50%;
    animation: joinchat_show 0.25s cubic-bezier(0, 0, 0.58, 1.19) 10ms both;
}

/* Botón abrir chat */
.chat-footer {
    padding: 12px;
    display: flex;
    justify-content: end;
}

.open-chat-btn {
    background-color: #000;
    color: #fff;
    font-size: 15px;
    padding: 20px;
    border: none;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.open-chat-btn:hover {
    transform: translateY(-2px);
}

/* Animación del icono */
.icon-container {
    display: inline-block;
    animation: bounceIcon 1s infinite;
}

@keyframes bounceIcon {
    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(20deg);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .whatsapp-chat {
        width: 90%;
        right: 5%;
    }
}

.text-muted {
    margin: 30px;
}

/* --- SECCIÓN PRINCIPAL --- */
.audience-section {
    padding: 60px 50px;
    color: #fff;
    text-align: center;
}

/* --- TÍTULO --- */
.audience-title {
    font-size: 42px;
    margin-bottom: 50px;
    font-weight: 700;
}

.audience-title .highlight {
    color: var(--color-primary);
    /* Verde llamativo */
}

/* --- GRID DE CARDS --- */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

/* --- CARDS --- */
.audience-card {
    background: linear-gradient(145deg, #1b1b1b, #111);
    padding: 25px;
    border-radius: 20px;
    color: #fff;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    height: 180px;
    /* Altura fija */
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

/* Efecto hover */
.audience-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, #222, #181818);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* --- TÍTULOS DE CARDS --- */
.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* --- TEXTO DE CARDS --- */
.card-text {
    font-size: 15px;
    line-height: 1.5;
    color: #ccc;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .audience-title {
        font-size: 32px;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .audience-card {
        height: auto;
    }
}

.web-section {
    padding: 50px 20px;
    font-family: "Arial", sans-serif;
    color: #fff;
}

.web-container {
    max-width: 1200px;
    margin: 0 auto;
}

.web-columns {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.web-column {
    flex: 1 1 45%;
    min-width: 300px;
}

.web-column h2 {
    margin-bottom: 25px;
    color: #fff;
    text-align: center;
}

.web-cards {
    list-style: none;
    padding: 0;
    margin: 0;
}

.web-cards li {
    background: linear-gradient(145deg, #1b1b1b, #111);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

.web-cards li strong {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #fff;
}

@media (max-width: 768px) {
    .web-columns {
        flex-direction: column;
    }

    .web-column {
        flex: 1 1 100%;
    }
}

/* --- SECCIÓN PRINCIPAL --- */
.counter {
    padding: 80px 20px;
    font-family: "Poppins", sans-serif;
}

/* --- CONTENEDOR --- */
.counter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

/* --- CADA ITEM --- */
.counter-item {
    background: #111;
    padding: 35px 20px;
    border-radius: 18px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 35px rgba(0, 255, 128, 0.25);
}

/* --- ICONOS --- */
.counter-item .icon {
    width: 70px;
    height: 70px;
    background: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    font-size: 28px;
    color: var(--color-primary);
    box-shadow: 0 0 15px rgba(var(--color-primary-rgb), 0.4);
    transition: background 0.3s ease, color 0.3s ease;
}

.counter-item:hover .icon {
    background: var(--color-primary);
    color: #000;
}

/* --- NÚMEROS --- */
.counter-number-container {
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

/* --- TEXTO INFERIOR --- */
.counter-label {
    font-size: 16px;
    color: #ccc;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .counter-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .counter-container {
        grid-template-columns: 1fr;
    }

    .counter-item {
        padding: 25px 15px;
    }

    .counter-number {
        font-size: 28px;
    }
}

/* Enlaces dentro de las respuestas de FAQs (contenido administrable) */
.faq-inner a {
    color: #bcf346;
    text-decoration: underline;
}
